Skip to content

Commit

Permalink
DEV9: Fix Wunused-variable warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
lightningterror committed Sep 28, 2023
1 parent fae4f7c commit c8e4f91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pcsx2-qt/Settings/DEV9SettingsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c8e4f91

Please sign in to comment.