Closed Bug 1236325 Opened 9 years ago Closed 9 years ago

Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in satchel

Categories

(Toolkit :: Autocomplete, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(1 file)

Attached patch satchel_MOZ_FALLTHROUGH.patch (deleted) — 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/components/satchel/nsFormFillController.cpp:974:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
Attachment #8703401 - Flags: review?(mak77)
Attachment #8703401 - Flags: review?(mak77) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Blocks: 1253170
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: