From 665f5c99b2ca3db67f75ecfa683389e213d942a6 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 6 Aug 2017 16:54:38 +0200 Subject: JANITORIAL: Silence some more GCC 7 fall through warnings I think these are the last one that were already flagged as being deliberate. --- engines/sword25/util/lua/ltable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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 */ -- cgit v1.2.3