From 2b43eaa92b3d4ab3848e08d9160214a4ed3b34e8 Mon Sep 17 00:00:00 2001 From: Brice Videau Date: Wed, 18 Sep 2024 16:45:41 -0500 Subject: [PATCH] Remove extraneous break after return in case statement (#23) * Remove extraneous break after return in case statement * Update src/excit.c Co-authored-by: Swann Perarnau * Format --------- Co-authored-by: Swann Perarnau --- src/excit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/excit.c b/src/excit.c index 5c1ea46..8cd9e0c 100644 --- a/src/excit.c +++ b/src/excit.c @@ -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) {