From f438d0c5b20d5373b44287948fc5f6c1bfb0e7ec Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 16 Dec 2019 08:16:55 +0000 Subject: DIRECTOR: Fix Missing Default Switch Case in Lingo Flex Parser This is flagged by GCC if -Wswitch-default is enabled. --- engines/director/lingo/lingo-lex.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp index 3cfd3f410a..40fb773c68 100644 --- a/engines/director/lingo/lingo-lex.cpp +++ b/engines/director/lingo/lingo-lex.cpp @@ -1719,6 +1719,9 @@ case YY_STATE_EOF(INITIAL): yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; + + default: + break; } break; } -- cgit v1.2.3