diff options
author | Adrian Frühwirth | 2018-03-23 18:34:17 +0100 |
---|---|---|
committer | Adrian Frühwirth | 2018-03-23 18:34:17 +0100 |
commit | 0524ff6e8ddf5611d289831f88432c5d59722948 (patch) | |
tree | 62f261c74eabc231ff3cfad24be734b441ffddd1 /engines/sword25/util/lua/llex.cpp | |
parent | 99c72c7b5cf651b83d300e9a8a0a481cfe9b00de (diff) | |
download | scummvm-rg350-0524ff6e8ddf5611d289831f88432c5d59722948.tar.gz scummvm-rg350-0524ff6e8ddf5611d289831f88432c5d59722948.tar.bz2 scummvm-rg350-0524ff6e8ddf5611d289831f88432c5d59722948.zip |
JANITORIAL: Silence GCC 7 fallthrough warnings
Diffstat (limited to 'engines/sword25/util/lua/llex.cpp')
-rw-r--r-- | engines/sword25/util/lua/llex.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sword25/util/lua/llex.cpp b/engines/sword25/util/lua/llex.cpp index 423f0285ca..ebda9ffbdf 100644 --- a/engines/sword25/util/lua/llex.cpp +++ b/engines/sword25/util/lua/llex.cpp @@ -377,8 +377,10 @@ static int llex (LexState *ls, SemInfo *seminfo) { read_long_string(ls, seminfo, sep); return TK_STRING; } - else if (sep == -1) return '['; - else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); + else if (sep == -1) + return '['; + luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); + break; } case '=': { next(ls); |