summaryrefslogtreecommitdiff
path: root/configmgr/source/configurationregistry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/configurationregistry.cxx')
-rw-r--r--configmgr/source/configurationregistry.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx
index 4ace4595c8e6..ffd7174c0ad7 100644
--- a/configmgr/source/configurationregistry.cxx
+++ b/configmgr/source/configurationregistry.cxx
@@ -578,7 +578,7 @@ sal_Int32 RegistryKey::getLongValue()
{
osl::MutexGuard g(service_.mutex_);
service_.checkValid();
- sal_Int32 v;
+ sal_Int32 v = 0;
if (value_ >>= v) {
return v;
}