summaryrefslogtreecommitdiff
path: root/configmgr/source/configurationregistry.cxx
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-08 09:11:12 +0100
committersb <sb@openoffice.org>2010-02-08 09:11:12 +0100
commit0ac0aed5886f74e857e52d7846bf09ce4a6175c1 (patch)
treefa5b4b9a07697c3cd4c046dea28da6087cb4e153 /configmgr/source/configurationregistry.cxx
parent0210a8d911856ff3206bea7d2640f4690b162799 (diff)
sb111: #i108905# avoid compiler warning
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;
}