mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 22:29:10 +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:
parent
7d22713a72
commit
db840aaacd
Notes:
sideshowbarker
2024-07-18 07:17:04 +09:00
Author: https://github.com/BertalanD
Commit: db840aaacd
Pull-request: https://github.com/SerenityOS/serenity/pull/8718
Issue: https://github.com/SerenityOS/serenity/issues/363
Reviewed-by: https://github.com/gunnarbeutner ✅
Reviewed-by: https://github.com/nico
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):
|
case (KeyCode::Key_P):
|
||||||
put_before();
|
put_before();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue