From 6c3f8f455beee491b310eff4795f9f6bd7f88a66 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Wed, 4 Feb 2004 10:55:42 +0000 Subject: INTEGRATION: CWS ooo20031216 (1.1.76); FILE MERGED 2003/12/23 10:55:35 waratah 1.1.76.1: #i1858# add default to initialise a potentially unitialised variable --- cppuhelper/source/unourl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cppuhelper/source/unourl.cxx') diff --git a/cppuhelper/source/unourl.cxx b/cppuhelper/source/unourl.cxx index d8c2c22c6f47..460daf4f2967 100644 --- a/cppuhelper/source/unourl.cxx +++ b/cppuhelper/source/unourl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unourl.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: sb $ $Date: 2002-10-02 15:31:56 $ + * last change: $Author: hr $ $Date: 2004-02-04 11:55:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -108,7 +108,7 @@ inline UnoUrlDescriptor::Impl::Impl(rtl::OUString const & rDescriptor) m_aDescriptor = rDescriptor; enum State { STATE_NAME0, STATE_NAME, STATE_KEY0, STATE_KEY, STATE_VALUE }; State eState = STATE_NAME0; - sal_Int32 nStart; + sal_Int32 nStart = 0; rtl::OUString aKey; for (sal_Int32 i = 0;; ++i) { -- cgit