Closed Bug 1251887 Opened 4 years ago Closed 4 years ago
Add break to unintentional switch fallthrough in Gfx
Info Base .cpp to fix -Wimplicit-fallthrough warning
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 where the fallthrough is intentional, but in this case, a break is enough. widget/GfxInfoBase.cpp:158:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
4 years ago
Attachment #8724475 - Flags: review?(milan) → review+
You need to log in before you can comment on or make changes to this bug.