--- tools/source/inet/inetmime.cxx.old	2005-09-09 16:23:08.000000000 +0200
+++ tools/source/inet/inetmime.cxx	2005-11-28 20:06:21.000000000 +0100
@@ -3051,7 +3051,9 @@
 	ByteString sDecoded;
 	while (p != pEnd)
 	{
-		sal_uInt32 nCharacter;
+		// the value is initialized just to avoid warning: ‘nCharacter’ is used uninitialized in this function
+		// there seems to be a bug in gcc-4.1 because this value is used only if it is initialized
+		sal_uInt32 nCharacter=0;
 		if (translateUTF8Char(p, pEnd, eEncoding, nCharacter))
 			sDecoded += sal_Char(nCharacter);
 		else
@@ -3478,7 +3480,9 @@
 			{
 				const sal_Char * pUTF8Begin = p - 1;
 				const sal_Char * pUTF8End = pUTF8Begin;
-				sal_uInt32 nCharacter;
+				// the value is initialized just to avoid warning: ‘nCharacter’ is used uninitialized in this function
+				// there seems to be a bug in gcc-4.1 because this value is used only if it is initialized
+				sal_uInt32 nCharacter=0;
 				if (translateUTF8Char(pUTF8End, pEnd, RTL_TEXTENCODING_UCS4,
 									  nCharacter))
 				{
