possible uninitialized variable use in xpcwrappednativeproto.cpp

RESOLVED FIXED in mozilla9

Status

()

defect
RESOLVED FIXED
9 years ago
8 years ago

People

(Reporter: jdm, Assigned: atulagrwl)

Tracking

(Blocks 1 bug)

Trunk
mozilla9
x86
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [build_warning])

Attachments

(1 attachment)

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: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.