Closed
Bug 581474
Opened 14 years ago
Closed 13 years ago
possible uninitialized variable use in nsXPCWrappedJS::GetNewOrUsed
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: jdm, Assigned: atulagrwl)
References
(Blocks 1 open bug)
Details
(Whiteboard: [build_warning])
Attachments
(1 file)
949 bytes,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
js/src/xpconnect/src/xpcwrappedjs.cpp: In static member function ‘static nsresult nsXPCWrappedJS::GetNewOrUsed(XPCCallContext&, JSObject*, const nsIID&, nsISupports*, nsXPCWrappedJS**)’: js/src/xpconnect/src/xpcwrappedjs.cpp:307: warning: ‘root’ may be used uninitialized in this function
Reporter | ||
Updated•14 years ago
|
Whiteboard: [build_warning]
Updated•13 years ago
|
Blocks: buildwarning
Assignee | ||
Comment 1•13 years ago
|
||
Please note I have not tested this patch. Will do the testing once my unix box build is complete.
Comment 2•13 years ago
|
||
Comment on attachment 557288 [details] [diff] [review] Patch v1 to fix warning I look forward to days when GCC actually gets its control flow graph to a point where it doesn't give false positives like this.
Attachment #557288 -
Flags: review?(mrbkap) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 4•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/b435b37b32c7
Flags: in-testsuite-
Target Milestone: --- → mozilla9
Comment 5•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/b435b37b32c7
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•