Fix "warning: suggest parentheses around comparison in operand of &" in TestAToms.cpp

RESOLVED FIXED in mozilla1.9.3a4

Status

()

RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

Trunk
mozilla1.9.3a4
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
Created attachment 432927 [details] [diff] [review]
fix

I get these compile warnings when building TestAtoms.cpp:
> xpcom/tests/TestAtoms.cpp: In function ‘PRBool TestAtoms::isStaticAtom(nsIAtom*)’:
> xpcom/tests/TestAtoms.cpp:190: warning: suggest parentheses around comparison in operand of &
> xpcom/tests/TestAtoms.cpp:191: warning: suggest parentheses around comparison in operand of &
> xpcom/tests/TestAtoms.cpp:192: warning: suggest parentheses around comparison in operand of &
> xpcom/tests/TestAtoms.cpp:193: warning: suggest parentheses around comparison in operand of &
> xpcom/tests/TestAtoms.cpp:194: warning: suggest parentheses around comparison in operand of &

Fix attached.
Attachment #432927 - Flags: review?(jonas)
Comment on attachment 432927 [details] [diff] [review]
fix

Doh! Thanks!
Attachment #432927 - Flags: review?(jonas) → review+
(Assignee)

Comment 2

9 years ago
Pushed: http://hg.mozilla.org/mozilla-central/rev/5dc1c7e48631
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a4
You need to log in before you can comment on or make changes to this bug.