Closed
Bug 903065
Opened 11 years ago
Closed 11 years ago
LayersLogging.cpp:186:10: warning: enumeration value 'FILTER_GOOD' not handled in switch [-Wswitch]
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
840 bytes,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
Bug 897532 added a new enum-value "FILTER_GOOD":
http://hg.mozilla.org/mozilla-central/rev/d10581fd8202#l5.13
...but it missed at least one switch statement, in LayersLogging.cpp, and hence we now spam this build warning:
{
gfx/layers/LayersLogging.cpp:186:10: warning: enumeration value 'FILTER_GOOD' not handled in switch [-Wswitch]
}
Assignee | ||
Comment 1•11 years ago
|
||
Trivial fix - looks like this switch statement is just stringifying the enum value, which is easy enough to do.
Assignee | ||
Updated•11 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Assignee | ||
Updated•11 years ago
|
Blocks: buildwarning
Assignee | ||
Comment 2•11 years ago
|
||
Note that the bug that introduced this warning (bug 897532) was backed out, for intermittent crashes, and it hasn't yet been re-landed.
(jrmuizel, feel free to just fold this into that bug's patch when you re-land, if you like.)
Updated•11 years ago
|
Attachment #787697 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Updated•11 years ago
|
Whiteboard: [shouldn't land until bug 897532 is re-landed]
Assignee | ||
Comment 3•11 years ago
|
||
Flags: in-testsuite-
Whiteboard: [shouldn't land until bug 897532 is re-landed]
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•