Closed Bug 759980 Opened 12 years ago Closed 12 years ago

Compiler warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversions]

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 759504

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

Details

(Whiteboard: [build_warning])

Attachments

(1 file)

./dombindings_gen.cpp:1266:16: warning: initialization of pointer of type 'JSObject *' to null from a constant boolean expression [-Wbool-conversions]
        return false;
               ^~~~~

And many more warnings similar to this.
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #628579 - Flags: review?(bobbyholley+bmo)
Component: DOM → XPConnect
QA Contact: general → xpconnect
Pretty sure David has a patch for this in another bug too...
This patch is missing a place.  See bug 759504.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Attachment #628579 - Flags: review?(bobbyholley+bmo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: