From c8e4f9160ccaff0a90b1670e025b818779306050 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:52:30 +0200 Subject: [PATCH] DEV9: Fix Wunused-variable warning. --- pcsx2-qt/Settings/DEV9SettingsWidget.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/pcsx2-qt/Settings/DEV9SettingsWidget.cpp b/pcsx2-qt/Settings/DEV9SettingsWidget.cpp index 78fcf38af4182..ab12883f31a5c 100644 --- a/pcsx2-qt/Settings/DEV9SettingsWidget.cpp +++ b/pcsx2-qt/Settings/DEV9SettingsWidget.cpp @@ -814,9 +814,7 @@ void DEV9SettingsWidget::UpdateHddSizeUIValues() if (size < 0) return; - const u32 sizeSectors = static_cast(size / 512); const int sizeGB = size / 1024 / 1024 / 1024; - QSignalBlocker sb1(m_ui.hddSizeSpinBox); QSignalBlocker sb2(m_ui.hddSizeSlider); m_ui.hddSizeSpinBox->setValue(sizeGB);