diff options
author | bunnei <bunneidev@gmail.com> | 2022-09-28 14:37:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 14:37:23 -0700 |
commit | 9015a512c275e8d7979715632bf5ae67fe3adf2f (patch) | |
tree | 1bf9bb4098fd6533280b314745d9fb329f6ec1ca /src/yuzu/main.cpp | |
parent | 0f6007b405fff82396885bacb8eed72abfba2da6 (diff) | |
parent | 5a74ced59a159c374071028d431fbf877c819b22 (diff) |
Merge pull request #8940 from german77/silence
yuzu: Silence some clang warnings
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 23245a976..e2c2b9292 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -2000,7 +2000,7 @@ static bool RomFSRawCopy(QProgressDialog& dialog, const FileSys::VirtualDir& src } void GMainWindow::OnGameListRemoveInstalledEntry(u64 program_id, InstalledEntryType type) { - const QString entry_type = [this, type] { + const QString entry_type = [type] { switch (type) { case InstalledEntryType::Game: return tr("Contents"); @@ -2097,7 +2097,7 @@ void GMainWindow::RemoveAddOnContent(u64 program_id, const QString& entry_type) void GMainWindow::OnGameListRemoveFile(u64 program_id, GameListRemoveTarget target, const std::string& game_path) { - const QString question = [this, target] { + const QString question = [target] { switch (target) { case GameListRemoveTarget::GlShaderCache: return tr("Delete OpenGL Transferable Shader Cache?"); |