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

Stephan Bergmann sbergman at redhat.com
Tue Nov 17 02:26:59 PST 2015


 vcl/source/helper/commandinfoprovider.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6c217cfe6ebba1f6cd62f47693210075e0dadf58
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 17 11:26:31 2015 +0100

    -Werror=maybe-uninitialized
    
    Change-Id: I2c5626c0fd0244da46157ba286b4c08e4f73944f

diff --git a/vcl/source/helper/commandinfoprovider.cxx b/vcl/source/helper/commandinfoprovider.cxx
index cb0378c..dde7441 100644
--- a/vcl/source/helper/commandinfoprovider.cxx
+++ b/vcl/source/helper/commandinfoprovider.cxx
@@ -225,7 +225,7 @@ sal_Int32 CommandInfoProvider::GetPropertiesForCommand (
     {
         if (aProperties[nIndex].Name == "Properties")
         {
-            sal_Int32 nValue;
+            sal_Int32 nValue = 0;
             aProperties[nIndex].Value >>= nValue;
             return nValue;
         }


More information about the Libreoffice-commits mailing list