mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
main: Silence [[fallthrough]] warning
This commit is contained in:
parent
ef02370816
commit
f78e44762a
1 changed files with 2 additions and 3 deletions
|
@ -1421,11 +1421,10 @@ void GMainWindow::OnGameListRemoveInstalledEntry(u64 program_id, InstalledEntryT
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case InstalledEntryType::Update:
|
case InstalledEntryType::Update:
|
||||||
RemoveUpdateContent(program_id, entry_type);
|
RemoveUpdateContent(program_id, entry_type);
|
||||||
if (type == InstalledEntryType::Game) {
|
if (type != InstalledEntryType::Game) {
|
||||||
[[fallthrough]];
|
|
||||||
} else {
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
[[fallthrough]];
|
||||||
case InstalledEntryType::AddOnContent:
|
case InstalledEntryType::AddOnContent:
|
||||||
RemoveAddOnContent(program_id, entry_type);
|
RemoveAddOnContent(program_id, entry_type);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue