Closed
Bug 957858
Opened 12 years ago
Closed 12 years ago
gfx\layers\basic/TextureHostBasic.cpp(34) : warning C4065: switch statement contains 'default' but no 'case' labels
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [qa-])
Attachments
(1 file)
|
1.53 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
Build warning, found when trying bug 957784:
gfx\layers\basic/TextureHostBasic.cpp(34) : warning C4065: switch statement contains 'default' but no 'case' labels
(The compiler thinks there are no 'case' labels because the only case is #ifdeffed out.)
I don't think we need a switch statement here at all -- we should just simplify this.
| Assignee | ||
Updated•12 years ago
|
Blocks: buildwarning
| Assignee | ||
Comment 1•12 years ago
|
||
This just converts the switch statement into a single "if" block.
Attachment #8357473 -
Flags: review?(nical.bugzilla)
Updated•12 years ago
|
Attachment #8357473 -
Flags: review?(nical.bugzilla) → review+
| Assignee | ||
Comment 2•12 years ago
|
||
Flags: in-testsuite-
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•12 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•