summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-17 11:26:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-17 11:26:31 +0100
commit6c217cfe6ebba1f6cd62f47693210075e0dadf58 (patch)
treed8a5e7ceab5b07cf81fb2dda382d15db72170588 /vcl
parent0c48c809f09e74e79c9f8dc4c22958147f591921 (diff)
-Werror=maybe-uninitialized
Change-Id: I2c5626c0fd0244da46157ba286b4c08e4f73944f
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/helper/commandinfoprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/helper/commandinfoprovider.cxx b/vcl/source/helper/commandinfoprovider.cxx
index cb0378c7fd43..dde74417a14c 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;
}