Closed Bug 1119228 Opened 9 years ago Closed 9 years ago

Fix a fatal warning in PossiblyFail; r=jandem

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37

People

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

References

Details

Attachments

(1 file)

Recent clang emits the following warning (which is treated as an error) on this code:
error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
Assignee: nobody → ehsan
Attachment #8545923 - Flags: review?(jdemooij)
Attachment #8545923 - Flags: review?(jdemooij) → review+
(In reply to André Bargull from comment #2)
> dup of bug 1108155?

Oh you're right. I did remember reviewing a similar patch before but thought it was another macro, but the other patch just didn't land yet...
Hm the other patch might be slightly nicer, I think we can push it for Jason if it fixes your build. Or ping him to do it.
https://hg.mozilla.org/mozilla-central/rev/bcacb5692ad9
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Sorry, I didn't see the previous comments before landing.  What should I do here?
Flags: needinfo?(jdemooij)
(In reply to :Ehsan Akhgari (not reading bugmail, needinfo? me!) from comment #6)
> Sorry, I didn't see the previous comments before landing.  What should I do
> here?

I think your patch is fine and we don't need to do anything.
Flags: needinfo?(jdemooij)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: