diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-07-05 19:17:08 +0200 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-08 10:11:00 +0200 |
commit | 98a9a1d7f92d314df337af9745fcb58167e1c4e5 (patch) | |
tree | 1287a1391ac9c99485fd7c919b0cd1787e94a91f /Userland/DevTools/Profiler/TimelineTrack.cpp | |
parent | b0208ce433063df16aad357759a02bc08f596d9f (diff) | |
download | serenity-98a9a1d7f92d314df337af9745fcb58167e1c4e5.zip |
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.
Diffstat (limited to 'Userland/DevTools/Profiler/TimelineTrack.cpp')
-rw-r--r-- | Userland/DevTools/Profiler/TimelineTrack.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/Profiler/TimelineTrack.cpp b/Userland/DevTools/Profiler/TimelineTrack.cpp index b39eded946..a5af3371b4 100644 --- a/Userland/DevTools/Profiler/TimelineTrack.cpp +++ b/Userland/DevTools/Profiler/TimelineTrack.cpp @@ -41,6 +41,7 @@ void TimelineTrack::event(Core::Event& event) case GUI::Event::MouseDown: case GUI::Event::MouseMove: event.ignore(); + break; default: break; } |