mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-25 19:02:07 -05: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:
parent
7d22713a72
commit
db840aaacd
1 changed files with 1 additions and 0 deletions
|
@ -995,6 +995,7 @@ bool VimEditingEngine::on_key_in_normal_mode(const KeyEvent& event)
|
|||
}
|
||||
case (KeyCode::Key_P):
|
||||
put_before();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue