summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-24 10:41:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-24 11:56:49 +0100
commitf5a414d242f3b3bce19de4905d7b5dce9792b66c (patch)
treec724b3ec2e24493bc8fd943a3c3df40edeea9e3f /cppuhelper
parenta0d6c5dd9bf359d8428f26701acb6b2036b4417c (diff)
WaE: simple minded MSVC2008 thinks s could be used uninitialized
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/defaultbootstrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/defaultbootstrap.cxx b/cppuhelper/source/defaultbootstrap.cxx
index f156ce15c8e9..f948586c0167 100644
--- a/cppuhelper/source/defaultbootstrap.cxx
+++ b/cppuhelper/source/defaultbootstrap.cxx
@@ -1370,7 +1370,7 @@ rtl::OUString ServiceManager::readLegacyRdbString(
{
RegistryKey subkey;
RegValueType t;
- sal_uInt32 s;
+ sal_uInt32 s(0);
if (key.openKey(path, subkey) != REG_NO_ERROR
|| subkey.getValueInfo(rtl::OUString(), &t, &s) != REG_NO_ERROR
|| t != RG_VALUETYPE_STRING