To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58984
                  Issue #:|58984
                  Summary:|gcc-4.1: tools: warning: uninitialized variable is
                          |used
                Component:|utilities
                  Version:|680m142
                 Platform:|PC
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|hro
              Reported by:|pmladek





------- Additional comments from [EMAIL PROTECTED] Tue Dec  6 10:40:40 -0800 
2005 -------
The new gcc-4.1-pre has a better detection of problems with uninitialized
variables and prints the new "warning: FOO is used uninitialized". We are going
through this warnings because there is a higher chance that the code is really
broken.

The following problems were found in the module tools:
--- cut ---
/usr/src/packages/BUILD/ooo-build-src680.139.3/build/src680-m139/tools/source/inet/inetmime.cxx:
In static member function 'static String INetMIME::decodeHeader
FieldBody(INetMIME::HeaderFieldType, const ByteString&)':
/usr/src/packages/BUILD/ooo-build-src680.139.3/build/src680-m139/tools/source/inet/inetmime.cxx:3489:
warning: 'nCharacter' is used uninitialized in this function
/usr/src/packages/BUILD/ooo-build-src680.139.3/build/src680-m139/tools/source/inet/inetmime.cxx:
In static member function 'static ByteString INetMIME::decodeUTF8(const
ByteString&, rtl_TextEncoding)':
/usr/src/packages/BUILD/ooo-build-src680.139.3/build/src680-m139/tools/source/inet/inetmime.cxx:3056:
warning: 'nCharacter' is used uninitialized in this function
--- cut ---

I'll attach a patch. I you agree, I could commit it to the CWS gcc41.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to