Closed
Bug 797614
Opened 12 years ago
Closed 12 years ago
Silence the warning about assignment in the condition in BasicTiledThebesLayer.cpp
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
Details
Attachments
(1 file)
499 bytes,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
BasicTiledThebesLayer.cpp /Users/ehsanakhgari/moz/mozilla-central/gfx/layers/basic/BasicTiledThebesLayer.cpp:304:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (lastRect = it.Next()) { ~~~~~~~~~^~~~~~~~~~~ /Users/ehsanakhgari/moz/mozilla-central/gfx/layers/basic/BasicTiledThebesLayer.cpp:304:23: note: place parentheses around the assignment to silence this warning while (lastRect = it.Next()) { ^ ( ) /Users/ehsanakhgari/moz/mozilla-central/gfx/layers/basic/BasicTiledThebesLayer.cpp:304:23: note: use '==' to turn this assignment into an equality comparison while (lastRect = it.Next()) { ^ ==
Assignee | ||
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Attachment #667715 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 2•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f51580af5a6
Target Milestone: --- → mozilla18
Comment 3•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3f51580af5a6
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•