mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1236325 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in satchel. r=mak
toolkit/components/satchel/nsFormFillController.cpp:974:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
This commit is contained in:
parent
a0c2f29590
commit
30e31900cf
@ -961,7 +961,7 @@ nsFormFillController::KeyPress(nsIDOMEvent* aEvent)
|
||||
if (isCtrl || isAlt || isMeta)
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
MOZ_FALLTHROUGH;
|
||||
case nsIDOMKeyEvent::DOM_VK_UP:
|
||||
case nsIDOMKeyEvent::DOM_VK_DOWN:
|
||||
case nsIDOMKeyEvent::DOM_VK_LEFT:
|
||||
|
Loading…
Reference in New Issue
Block a user