possible uninitialized variable use in xpcwrappednativeproto.cpp

RESOLVED FIXED in mozilla9

Status

()

RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: jdm, Assigned: atulagrwl)

Tracking

(Blocks: 1 bug)

Trunk
mozilla9
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [build_warning])

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
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
(Reporter)

Updated

8 years ago
Whiteboard: [build_warning]

Updated

8 years ago
Blocks: 187528
(Assignee)

Comment 1

7 years ago
Created attachment 557295 [details] [diff] [review]
Patch v1 to fix 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)

Updated

7 years ago
Attachment #557295 - Flags: review?(benjamin) → review+
(Assignee)

Updated

7 years ago
Keywords: checkin-needed
Keywords: checkin-needed

Comment 3

7 years ago
https://hg.mozilla.org/mozilla-central/rev/0694b11060ae
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.