Merge pull request #8078 from JosJuice/fallthrough

Use [[fallthrough]] in DiscExtractor
This commit is contained in:
Léo Lam 2019-05-05 10:44:10 +02:00 committed by GitHub
commit 4fdd403562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ std::string NameForPartitionType(u32 partition_type, bool include_prefix)
// wit doesn't recognize the name "INSTALL", so we can't use it when naming partition folders
if (!include_prefix)
return "INSTALL";
// [[fallthrough]]
[[fallthrough]];
default:
const std::string type_as_game_id{static_cast<char>((partition_type >> 24) & 0xFF),
static_cast<char>((partition_type >> 16) & 0xFF),