Closed Bug 1400374 Opened 2 years ago Closed 2 years ago

warning: expression with side effects has no effect in an unevaluated context in nsCycleCollector.cpp

Categories

(Core :: XPCOM, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Build warning on this line:
MOZ_RELEASE_ASSERT(count++ < 2);

The fix is just to do the increment after the assert.
Comment on attachment 8909381 [details]
Bug 1400374 - Fix compiler warning in FixGrayBits.

https://reviewboard.mozilla.org/r/180390/#review186124
Attachment #8909381 - Flags: review?(bugs) → review+
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fa80123d276e
Fix compiler warning in FixGrayBits. r=smaug
https://hg.mozilla.org/mozilla-central/rev/fa80123d276e
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.