summaryrefslogtreecommitdiff
path: root/cppuhelper/source/unourl.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 10:55:42 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 10:55:42 +0000
commit6c3f8f455beee491b310eff4795f9f6bd7f88a66 (patch)
tree8f1f69fb21f5ac32c99cf39bb0050a7f97d6728a /cppuhelper/source/unourl.cxx
parent45c3e26cd1e337868392259236c8db151cd218cb (diff)
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
Diffstat (limited to 'cppuhelper/source/unourl.cxx')
-rw-r--r--cppuhelper/source/unourl.cxx6
1 files changed, 3 insertions, 3 deletions
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)
{