summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-16 21:58:44 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-16 21:58:44 +0300
commit67cfd9f3cfd2c9beb8724b890cf5015858de027e (patch)
treea978921c83493269df73f4d4529c0567989b3477 /forms
parent556997bae75be8d8876d87a43d854cb969c12ce3 (diff)
WaE: 'bValue' may be used uninitialized in this function
Change-Id: I6fd6f679dd81707483c6834a4d4b2ca935f7c515
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/CheckBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/CheckBox.cxx b/forms/source/component/CheckBox.cxx
index 9d352f08d382..5198ccc06a91 100644
--- a/forms/source/component/CheckBox.cxx
+++ b/forms/source/component/CheckBox.cxx
@@ -217,7 +217,7 @@ Any OCheckBoxModel::translateDbColumnToControlValue()
//////////////////////////////////////////////////////////////////
// Set value in ControlModel
- bool bValue;
+ bool bValue = false;
if(DbUseBool())
{
bValue = m_xColumn->getBoolean();