Skip to content

Commit

Permalink
fix fallthrough warning
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Dec 30, 2024
1 parent 34af235 commit 49fd804
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions props/prop_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -1738,6 +1738,7 @@ class PropBase : CommandParser, Looper, protected SaberBase, public ModeInterfac
switch (event) {
case EVENT_RELEASED:
clash_pending_ = false;
[[gnu::fallthrough]];
case EVENT_PRESSED:
IgnoreClash(50); // ignore clashes to prevent buttons from causing clashes
default:
Expand Down

0 comments on commit 49fd804

Please sign in to comment.