Closed Bug 581477 Opened 10 years ago Closed 9 years ago

possible uninitialized variable use in xpcwrappednativeproto.cpp

Categories

(Core :: XPConnect, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: jdm, Assigned: atulagrwl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

Attachments

(1 file)

js/src/xpconnect/src/xpcwrappednativeproto.cpp:218: warning: ‘map’ may be used uninitialized in this function
js/src/xpconnect/src/xpcwrappednativeproto.cpp:219: warning: ‘lock’ may be used uninitialized in this function
Whiteboard: [build_warning]
It is false warning but it never hurts to assign null to pointers.

Note, I could not test this patch.
Assignee: nobody → atulagrwl
Status: NEW → ASSIGNED
Attachment #557295 - Flags: review?(benjamin)
Attachment #557295 - Flags: review?(benjamin) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/0694b11060ae
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.