From 97c236d4b0abe928344c5a5eebb8be008517d286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Wed, 8 Sep 2004 15:03:51 +0000 Subject: [PATCH] INTEGRATION: CWS ooo20040704 (1.17.8); FILE MERGED 2004/08/09 14:39:17 vg 1.17.8.2: RESYNC MERGED 1.17 1.18 Everything below this line will be added to the revision comment. 2004/06/30 12:31:08 waratah 1.17.8.1: #i30874# Add initial values to potentially unitialised values --- jvmfwk/source/fwkutil.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx index d12da34e9da3..ded3a6fd95a8 100644 --- a/jvmfwk/source/fwkutil.cxx +++ b/jvmfwk/source/fwkutil.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fwkutil.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: hr $ $Date: 2004-07-23 11:55:05 $ + * last change: $Author: rt $ $Date: 2004-09-08 16:03:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -724,7 +724,8 @@ rtl::ByteSequence decodeBase16(const rtl::ByteSequence& data) { sal_Int8 curChar = *pData; //find the index of the first 4bits - char nibble; + // TODO What happens if text is not valid Hex characters? + char nibble = 0; for (int ii = 0; ii < 16; ii++) { if (curChar == decodingTable[ii])