WaE: simple minded MSVC2008 thinks s could be used uninitialized

This commit is contained in:
Caolán McNamara
2012-04-24 10:41:58 +01:00
parent a0d6c5dd9b
commit f5a414d242

View File

@@ -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