From d6e2dcd25be42445e81ca27022204b18e8c7d427 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Mon, 5 Jun 2023 20:19:09 +0200 Subject: [PATCH] Qt: Fix Wunused-variable warning. --- pcsx2-qt/Settings/GameCheatSettingsWidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/pcsx2-qt/Settings/GameCheatSettingsWidget.cpp b/pcsx2-qt/Settings/GameCheatSettingsWidget.cpp index aea87252ca..87547d8048 100644 --- a/pcsx2-qt/Settings/GameCheatSettingsWidget.cpp +++ b/pcsx2-qt/Settings/GameCheatSettingsWidget.cpp @@ -167,7 +167,6 @@ void GameCheatSettingsWidget::reloadList() const bool enabled = (std::find(m_enabled_patches.begin(), m_enabled_patches.end(), pi.name) != m_enabled_patches.end()); - const std::string_view name_part = pi.GetNamePart(); const std::string_view parent_part = pi.GetNameParentPart(); QTreeWidgetItem* parent = getTreeWidgetParent(parent_part);