DEV9: Fix Wunused-variable warning.

This commit is contained in:
lightningterror 2023-09-28 16:52:30 +02:00
parent fae4f7c8b4
commit c8e4f9160c
1 changed files with 0 additions and 2 deletions

View File

@ -814,9 +814,7 @@ void DEV9SettingsWidget::UpdateHddSizeUIValues()
if (size < 0)
return;
const u32 sizeSectors = static_cast<u32>(size / 512);
const int sizeGB = size / 1024 / 1024 / 1024;
QSignalBlocker sb1(m_ui.hddSizeSpinBox);
QSignalBlocker sb2(m_ui.hddSizeSlider);
m_ui.hddSizeSpinBox->setValue(sizeGB);