mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Everywhere: Add break after the last case label before default
We already do this in most places, so the style should be consistent. Also, Clang does not like it, as this could cause an unexpected compile error if some statements are added to the default label or a new label is added above it.
This commit is contained in:
parent
b0208ce433
commit
98a9a1d7f9
Notes:
sideshowbarker
2024-07-18 10:05:56 +09:00
Author: https://github.com/BertalanD
Commit: 98a9a1d7f9
Pull-request: https://github.com/SerenityOS/serenity/pull/8470
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gunnarbeutner ✅
7 changed files with 7 additions and 1 deletions
|
@ -298,8 +298,8 @@ void ColumnsView::move_cursor(CursorMovement movement, SelectionUpdate selection
|
|||
if (model.is_valid(cursor_index()))
|
||||
push_column(cursor_index());
|
||||
update();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue