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
This commit is contained in:
Jens-Heiner Rechtien
2004-02-04 10:55:42 +00:00
parent 45c3e26cd1
commit 6c3f8f455b

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: unourl.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -108,7 +108,7 @@ inline UnoUrlDescriptor::Impl::Impl(rtl::OUString const & rDescriptor)
m_aDescriptor = rDescriptor; m_aDescriptor = rDescriptor;
enum State { STATE_NAME0, STATE_NAME, STATE_KEY0, STATE_KEY, STATE_VALUE }; enum State { STATE_NAME0, STATE_NAME, STATE_KEY0, STATE_KEY, STATE_VALUE };
State eState = STATE_NAME0; State eState = STATE_NAME0;
sal_Int32 nStart; sal_Int32 nStart = 0;
rtl::OUString aKey; rtl::OUString aKey;
for (sal_Int32 i = 0;; ++i) for (sal_Int32 i = 0;; ++i)
{ {