diff options
| author | 2020-07-17 06:14:13 -0400 | |
|---|---|---|
| committer | 2020-07-29 06:50:30 -0400 | |
| commit | f78e44762a109c9dac0e41735aa8af8616cbadfa (patch) | |
| tree | 970f0fef8e1ff7be189ae0475e11042dac428c01 /src | |
| parent | main: Split removal cases into their individual functions and address feedback (diff) | |
| download | yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.tar.gz yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.tar.xz yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.zip | |
main: Silence [[fallthrough]] warning
Diffstat (limited to 'src')
| -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 49c10459b..eeca0acb2 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -1421,11 +1421,10 @@ void GMainWindow::OnGameListRemoveInstalledEntry(u64 program_id, InstalledEntryT | |||
| 1421 | [[fallthrough]]; | 1421 | [[fallthrough]]; |
| 1422 | case InstalledEntryType::Update: | 1422 | case InstalledEntryType::Update: |
| 1423 | RemoveUpdateContent(program_id, entry_type); | 1423 | RemoveUpdateContent(program_id, entry_type); |
| 1424 | if (type == InstalledEntryType::Game) { | 1424 | if (type != InstalledEntryType::Game) { |
| 1425 | [[fallthrough]]; | ||
| 1426 | } else { | ||
| 1427 | break; | 1425 | break; |
| 1428 | } | 1426 | } |
| 1427 | [[fallthrough]]; | ||
| 1429 | case InstalledEntryType::AddOnContent: | 1428 | case InstalledEntryType::AddOnContent: |
| 1430 | RemoveAddOnContent(program_id, entry_type); | 1429 | RemoveAddOnContent(program_id, entry_type); |
| 1431 | break; | 1430 | break; |