mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1253753 - Remove unnecessary switch fallthrough to avoid -Wimplicit-fallthrough warning. r=karlt
widget/gtk/NativeKeyBindings.cpp:230:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
This commit is contained in:
parent
b101dfdf88
commit
3ff300d9d3
@ -226,7 +226,7 @@ NativeKeyBindings::GetInstance(NativeKeyBindingsType aType)
|
||||
|
||||
default:
|
||||
// fallback to multiline editor case in release build
|
||||
MOZ_ASSERT(false, "aType is invalid or not yet implemented");
|
||||
MOZ_FALLTHROUGH_ASSERT("aType is invalid or not yet implemented");
|
||||
case nsIWidget::NativeKeyBindingsForMultiLineEditor:
|
||||
case nsIWidget::NativeKeyBindingsForRichTextEditor:
|
||||
if (!sInstanceForMultiLineEditor) {
|
||||
|
Loading…
Reference in New Issue
Block a user