From 3ff300d9d3acb99977c568a56437b530ebe965e8 Mon Sep 17 00:00:00 2001 From: Chris Peterson Date: Mon, 7 Mar 2016 21:30:02 -0800 Subject: [PATCH] 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] --- widget/gtk/NativeKeyBindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/gtk/NativeKeyBindings.cpp b/widget/gtk/NativeKeyBindings.cpp index 2700ad05fe3a..48478f60000a 100644 --- a/widget/gtk/NativeKeyBindings.cpp +++ b/widget/gtk/NativeKeyBindings.cpp @@ -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) {