From c5df45a0721c75788cbdfe89992fdc97f1d47c34 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 23 Nov 2019 15:53:12 -0500 Subject: an error in the action for warp-to-ring would produce two error messages because the case lacked a break-statement Signed-off-by: Thomas E. Dickey --- src/gram.y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gram.y b/src/gram.y index d55ae91..6c4f4ea 100644 --- a/src/gram.y +++ b/src/gram.y @@ -611,6 +611,7 @@ action : FKEYWORD { $$ = $1; } Action); $$ = F_NOP; } + break; case F_WARPTOSCREEN: if (!CheckWarpScreenArg (Action)) { twmrc_error_prefix(); @@ -708,6 +709,7 @@ RemoveDQuote(char *str) goto hex; else --i; + /* FALLTHRU */ case '1': case '2': case '3': case '4': case '5': case '6': case '7': n = 0; -- cgit v1.2.3