Wimplicit-fallthrough fixes for tools/utils

This commit is contained in:
Robin Gareus 2018-10-26 14:53:11 +02:00
parent 4f86da8544
commit 5c08a6a85d
2 changed files with 4 additions and 2 deletions

View file

@ -254,7 +254,8 @@ int main (int argc, char* argv[])
settings._sample_format = ExportFormatBase::SF_Float; settings._sample_format = ExportFormatBase::SF_Float;
break; break;
} }
// no break
/* fall through */
default: default:
fprintf(stderr, "Invalid Bit Depth\n"); fprintf(stderr, "Invalid Bit Depth\n");
break; break;

View file

@ -154,7 +154,8 @@ class LuaTableRef {
} }
// invalid userdata -- fall through // invalid userdata -- fall through
} }
// no break
/* fall through */
case LUA_TFUNCTION: // no support -- we could... string.format("%q", string.dump(value, true)) case LUA_TFUNCTION: // no support -- we could... string.format("%q", string.dump(value, true))
case LUA_TTABLE: // no nested tables, sorry. case LUA_TTABLE: // no nested tables, sorry.
case LUA_TNIL: // fallthrough case LUA_TNIL: // fallthrough