To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=58983 Issue #:|58983 Summary:|gcc-4.1: comphelper: 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:36:49 -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 problem was found in the module comphelper: --- cut --- /usr/src/packages/BUILD/ooo-build-src680.139.3/build/src680-m139/comphelper/source/misc/types.cxx: In function 'sal_Bool comphelper::tryCompare(const void*, const com::sun::star::uno::Any&, sal_Bool&, sal_Char&)': /usr/src/packages/BUILD/ooo-build-src680.139.3/build/src680-m139/comphelper/source/misc/types.cxx:184: warning: 'nDummy' 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]