From af53e11fa018b5937604dc7cbd26f180bf59e928 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 24 Nov 2002 22:12:40 +0000 Subject: [PATCH] Avoid using labels at the end of commpound statements. --- tools/widl/parser.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index f44488004c..a1e720f95c 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -590,6 +590,7 @@ static expr_t *make_expr1(enum expr_type type, expr_t *expr) expr->u.lval = -expr->u.lval; return expr; default: + break; } } e = xmalloc(sizeof(expr_t)); @@ -639,6 +640,7 @@ static expr_t *make_expr2(enum expr_type type, expr_t *expr1, expr_t *expr2) free(expr2); return expr1; default: + break; } } e = xmalloc(sizeof(expr_t));