Closed
Bug 797614
Opened 13 years ago
Closed 13 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•13 years ago
|
||
Updated•13 years ago
|
Attachment #667715 -
Flags: review?(jmuizelaar) → review+
| Assignee | ||
Comment 2•13 years ago
|
||
Target Milestone: --- → mozilla18
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•