From b7fc939088c87249a900dfec5e8b04e4263f00e4 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 7 Mar 2007 12:08:42 +0000 Subject: INTEGRATION: CWS pj73 (1.14.22); FILE MERGED 2007/02/24 16:34:17 pjanik 1.14.22.1: #i74838#: Initialize variable to prevent warnings. --- configmgr/source/registry/cfgregistrykey.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configmgr') diff --git a/configmgr/source/registry/cfgregistrykey.cxx b/configmgr/source/registry/cfgregistrykey.cxx index 4d1a461d836d..498829602cb9 100644 --- a/configmgr/source/registry/cfgregistrykey.cxx +++ b/configmgr/source/registry/cfgregistrykey.cxx @@ -4,9 +4,9 @@ * * $RCSfile: cfgregistrykey.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: vg $ $Date: 2006-11-21 17:23:57 $ + * last change: $Author: obo $ $Date: 2007-03-07 13:08:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -934,7 +934,7 @@ sal_Int32 SAL_CALL OConfigurationRegistryKey::getLongValue( ) throw(InvalidRegi OSL_ENSURE(false, "Unexpected type FLOAT in configuration node"); { // treat as double - float fNativeValue; + float fNativeValue = 0; if (aValue >>= fNativeValue) aValue <<= double(fNativeValue); } -- cgit