aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 16:54:38 +0200
committerTorbjörn Andersson2017-08-06 16:54:38 +0200
commit665f5c99b2ca3db67f75ecfa683389e213d942a6 (patch)
tree4d519f502a58eb8ac3cf1c73beed10396bbaccdf /engines/sword25
parenta57c5b385decbd4c1bf15f2eace01bf7cb33f246 (diff)
downloadscummvm-rg350-665f5c99b2ca3db67f75ecfa683389e213d942a6.tar.gz
scummvm-rg350-665f5c99b2ca3db67f75ecfa683389e213d942a6.tar.bz2
scummvm-rg350-665f5c99b2ca3db67f75ecfa683389e213d942a6.zip
JANITORIAL: Silence some more GCC 7 fall through warnings
I think these are the last one that were already flagged as being deliberate.
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/util/lua/ltable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/util/lua/ltable.cpp b/engines/sword25/util/lua/ltable.cpp
index 45381fe673..76de991f25 100644
--- a/engines/sword25/util/lua/ltable.cpp
+++ b/engines/sword25/util/lua/ltable.cpp
@@ -478,8 +478,8 @@ const TValue *luaH_get (Table *t, const TValue *key) {
lua_number2int(k, n);
if (luai_numeq(cast_num(k), nvalue(key))) /* index is int? */
return luaH_getnum(t, k); /* use specialized version */
- /* else go through */
}
+ /* fall through */
default: {
Node *n = mainposition(t, key);
do { /* check whether `key' is somewhere in the chain */