Skip to content

Commit 8e8b458

Browse files
committed
Bug Fix: Unwanted Fallthrough in Switch Statement
1 parent 762b8c2 commit 8e8b458

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/analysis.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ void handle_stmt(struct statement *stmt)
362362
handle_expr(stmt->case_expression, 0);
363363
handle_expr(stmt->case_to, 0);
364364
handle_stmt(stmt->case_statement);
365+
break;
365366
case STMT_LABEL:
366367
handle_stmt(stmt->label_statement);
367368
break;

0 commit comments

Comments
 (0)