Last Comment Bug 724275 - fix -Wswitch warnings
: fix -Wswitch warnings
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: Trunk
: All Linux
-- normal (vote)
: mozilla13
Assigned To: Nathan Froyd [:froydnj]
: Milan Sreckovic [:milan]
Depends on:
  Show dependency treegraph
Reported: 2012-02-04 09:20 PST by Nathan Froyd [:froydnj]
Modified: 2012-02-06 00:49 PST (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch (5.25 KB, patch)
2012-02-04 09:24 PST, Nathan Froyd [:froydnj]
jmuizelaar: review+
Details | Diff | Splinter Review

Description User image Nathan Froyd [:froydnj] 2012-02-04 09:20:09 PST
GCC complains about switches over enums that don't have default cases.  In the interest of reducing warnings, these switches should be fixed.
Comment 1 User image Nathan Froyd [:froydnj] 2012-02-04 09:24:35 PST
Created attachment 594465 [details] [diff] [review]

Simple patch.  It seemed better to eliminate the duplicate code in SourceSurfaceCairo.cpp than fixing the switches.
Comment 2 User image Mozilla RelEng Bot 2012-02-04 09:48:54 PST
Autoland Patchset:
	Patches: 594465
	Branch: mozilla-central => try
Try run started, revision 388039878d56. To cancel or monitor the job, see:
Comment 3 User image Mozilla RelEng Bot 2012-02-04 14:30:26 PST
Try run for 388039878d56 is complete.
Detailed breakdown of the results available here:
Results (out of 208 total builds):
    success: 186
    warnings: 21
    failure: 1
Builds (or logs if builds failed) available at:
Comment 5 User image Marco Bonardo [::mak] 2012-02-06 00:49:42 PST

Note You need to log in before you can comment on or make changes to this bug.