mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 08:55:45 +00:00
JANITORIAL: Silence GCC 7 fallthrough warnings
This commit is contained in:
parent
99c72c7b5c
commit
0524ff6e8d
@ -434,7 +434,7 @@ bool Menu::handleEvent(StartMenuAction action, Common::EventType type) {
|
||||
case kMenuCase4:
|
||||
if (clicked)
|
||||
_index = 0;
|
||||
// fall down to kMenuContinue
|
||||
// fall through
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
case kMenuContinue: {
|
||||
|
@ -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);
|
||||
|
@ -799,10 +799,8 @@ static int str_format (lua_State *L) {
|
||||
luaL_addvalue(&b);
|
||||
continue; /* skip the `addsize' at the end */
|
||||
}
|
||||
else {
|
||||
sprintf(buff, form, s);
|
||||
break;
|
||||
}
|
||||
sprintf(buff, form, s);
|
||||
break;
|
||||
}
|
||||
default: { /* also treat cases `pnLlh' */
|
||||
return luaL_error(L, "invalid option " LUA_QL("%%%c") " to "
|
||||
|
Loading…
x
Reference in New Issue
Block a user