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;
break;
}
// no break
/* fall through */
default:
fprintf(stderr, "Invalid Bit Depth\n");
break;

View File

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