This bug is just for the "xxx might be used uninitialized" warnings in various source files in directory/xpcom. Currently brad TBox shows the following warnings: directory/xpcom/base/src/nsLDAPBERValue.cpp:59 `PRUint8 * array' might be used uninitialized in this function directory/xpcom/base/src/nsLDAPMessage.cpp:589 `nsresult rv' might be used uninitialized in this function P.S. See nug 59652 and 179819 for more information. Bug 59652 is the meta-bug tracking the fight against these (potentially very nasty) warnings and bug 179819 wants such warnings turned into compilation errors.
Created attachment 110940 [details] [diff] [review] Fixed warnings * nsLDAPMessage.cpp: Always returns NS_ERROR_OUT_OF_MEMORY since rv is not set. * nsLDAPBERValue.cpp: Moved setting of returned array into if() construct.
Fix and warnings are the same as in bug <A HREF="http://bugzilla.mozilla.org/show_bug.cgi?id=152700">152700</A>.
Yeah, seems like a dup... *** This bug has been marked as a duplicate of 152700 ***
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.