From ffe5abef62ceb310e4f42a229f36a7fb100f64a4 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 7 Jan 2016 06:22:54 -0500 Subject: apimagic_perform_unit_actions(): add missing break's in switch block. --- src/apimagic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apimagic.c b/src/apimagic.c index 77ae2a2..f89df43 100644 --- a/src/apimagic.c +++ b/src/apimagic.c @@ -32,12 +32,14 @@ static void apimagic_perform_unit_actions(struct amgc_unit_ctx * uctx) (void)0; else amgc_output_unit_enums(uctx,0,stdout); + break; case AMGC_LIST_ENUM: if (action->symbol) (void)0; else amgc_list_unit_enums(uctx,0,stdout); + break; } } -- cgit v1.2.3