mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 14:48:15 +00:00
LibGUI: Add break even before empty default label
Clang is a bit more pedantic than GCC when diagnosing implicit fallthroughs, and doesn't care if the succeeding label only contains a single break statement.
This commit is contained in:
committed by
Andreas Kling
parent
7d22713a72
commit
db840aaacd
@@ -995,6 +995,7 @@ bool VimEditingEngine::on_key_in_normal_mode(const KeyEvent& event)
|
||||
}
|
||||
case (KeyCode::Key_P):
|
||||
put_before();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user