Closed
Bug 1236389
Opened 10 years ago
Closed 10 years ago
Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in mozapps/update
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla46
| Tracking | Status | |
|---|---|---|
| firefox46 | --- | fixed |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(1 file)
|
2.06 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
clang's -Wimplicit-fallthrough warnings (not yet enabled in mozilla-central) warn about switch cases that fall through without a break or return statement. MOZ_FALLTHROUGH (bug 1215411) is an annotation to suppress -Wimplicit-fallthrough warnings about switch cases that intentionally fall through without a break or return statement. MOZ_FALLTHROUGH is only needed on cases that have code.
toolkit/mozapps/update/updater/updater.cpp:3722:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
toolkit/mozapps/update/updater/updater.cpp:3768:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
Attachment #8703471 -
Flags: review?(netzen)
Comment 1•10 years ago
|
||
rstrong would be a better reviewer for this.
I tried to change myself but I'm getting:
> away until 1/4 Robert Strong [:rstrong] (use needinfo to contact me) <robert.strong.bugs@gmail.com> is not currently accepting 'review' requests.
Please try to change it to him tomorrow.
Comment 2•10 years ago
|
||
Comment on attachment 8703471 [details] [diff] [review]
updater_MOZ_FALLTHROUGH.patch
Review of attachment 8703471 [details] [diff] [review]:
-----------------------------------------------------------------
Moving to rstrong
Attachment #8703471 -
Flags: review?(netzen)
Updated•10 years ago
|
Attachment #8703471 -
Flags: review+
Comment 4•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•