From f78e44762a109c9dac0e41735aa8af8616cbadfa Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Fri, 17 Jul 2020 06:14:13 -0400 Subject: [PATCH] main: Silence [[fallthrough]] warning --- src/yuzu/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 49c10459b..eeca0acb2 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;