1 --- tools/source/inet/inetmime.cxx.old 2005-09-09 16:23:08.000000000 +0200
2 +++ tools/source/inet/inetmime.cxx 2005-11-28 20:06:21.000000000 +0100
7 - sal_uInt32 nCharacter;
8 + // the value is initialized just to avoid warning: ‘nCharacter’ is used uninitialized in this function
9 + // there seems to be a bug in gcc-4.1 because this value is used only if it is initialized
10 + sal_uInt32 nCharacter=0;
11 if (translateUTF8Char(p, pEnd, eEncoding, nCharacter))
12 sDecoded += sal_Char(nCharacter);
16 const sal_Char * pUTF8Begin = p - 1;
17 const sal_Char * pUTF8End = pUTF8Begin;
18 - sal_uInt32 nCharacter;
19 + // the value is initialized just to avoid warning: ‘nCharacter’ is used uninitialized in this function
20 + // there seems to be a bug in gcc-4.1 because this value is used only if it is initialized
21 + sal_uInt32 nCharacter=0;
22 if (translateUTF8Char(pUTF8End, pEnd, RTL_TEXTENCODING_UCS4,