Skip to content

Commit

Permalink
Remove extraneous break after return in case statement (#23)
Browse files Browse the repository at this point in the history
* Remove extraneous break after return in case statement

* Update src/excit.c

Co-authored-by: Swann Perarnau <[email protected]>

* Format

---------

Co-authored-by: Swann Perarnau <[email protected]>
  • Loading branch information
Kerilk and perarnau authored Sep 18, 2024
1 parent ac9d103 commit 2b43eaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/excit.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
#include "tleaf.h"
#include "loop.h"

#define CASE(val) case val: return #val; break
#define CASE(val) \
case val: \
return #val

const char *excit_type_name(enum excit_type_e type)
{
Expand Down

0 comments on commit 2b43eaa

Please sign in to comment.