[Libreoffice-commits] core.git: forms/source

Tor Lillqvist tml at collabora.com
Wed Oct 16 12:04:28 PDT 2013


 forms/source/component/CheckBox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 67cfd9f3cfd2c9beb8724b890cf5015858de027e
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Oct 16 21:58:44 2013 +0300

    WaE: 'bValue' may be used uninitialized in this function
    
    Change-Id: I6fd6f679dd81707483c6834a4d4b2ca935f7c515

diff --git a/forms/source/component/CheckBox.cxx b/forms/source/component/CheckBox.cxx
index 9d352f0..5198ccc 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();


More information about the Libreoffice-commits mailing list