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:
Chris Peterson 2016-01-01 17:02:54 -07:00
parent 170785f0a5
commit d885f1712a

View File

@ -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: