diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-17 06:14:13 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-29 06:50:30 -0400 |
commit | f78e44762a109c9dac0e41735aa8af8616cbadfa (patch) | |
tree | 970f0fef8e1ff7be189ae0475e11042dac428c01 /src/yuzu/main.cpp | |
parent | ef02370816924156b6c3c3fd70e7e2595be19216 (diff) |
main: Silence [[fallthrough]] warning
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 49c10459b7..eeca0acb2b 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1421,11 +1421,10 @@ void GMainWindow::OnGameListRemoveInstalledEntry(u64 program_id, InstalledEntryT [[fallthrough]]; case InstalledEntryType::Update: RemoveUpdateContent(program_id, entry_type); - if (type == InstalledEntryType::Game) { - [[fallthrough]]; - } else { + if (type != InstalledEntryType::Game) { break; } + [[fallthrough]]; case InstalledEntryType::AddOnContent: RemoveAddOnContent(program_id, entry_type); break; |