aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.cpp
diff options
context:
space:
mode:
authorD G Turner2019-12-16 08:16:55 +0000
committerD G Turner2019-12-16 08:16:55 +0000
commitf438d0c5b20d5373b44287948fc5f6c1bfb0e7ec (patch)
tree20b8e6f615c339d16d0b19dc33071dc2e2ec8fe9 /engines/director/lingo/lingo-lex.cpp
parent6a5c34bb6947ccf52544b2f2dbb30874b736e406 (diff)
downloadscummvm-rg350-f438d0c5b20d5373b44287948fc5f6c1bfb0e7ec.tar.gz
scummvm-rg350-f438d0c5b20d5373b44287948fc5f6c1bfb0e7ec.tar.bz2
scummvm-rg350-f438d0c5b20d5373b44287948fc5f6c1bfb0e7ec.zip
DIRECTOR: Fix Missing Default Switch Case in Lingo Flex Parser
This is flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/director/lingo/lingo-lex.cpp')
-rw-r--r--engines/director/lingo/lingo-lex.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}