Enable -Wunused-variable

This commit is contained in:
Nekotekina 2021-01-12 13:01:06 +03:00
parent 631d7d0ce7
commit db8e6fe7a7
62 changed files with 167 additions and 183 deletions

View file

@ -405,7 +405,7 @@ void debugger_frame::UpdateUnitList()
return;
}
const int old_size = m_choice_units->count();
//const int old_size = m_choice_units->count();
QVariant old_cpu = m_choice_units->currentData();
const auto on_select = [&](u32 id, cpu_thread& cpu)
@ -542,7 +542,7 @@ void debugger_frame::ShowGotoAddressDialog()
{
expression_input->setValidator(new QRegExpValidator(QRegExp("^(0[xX])?0*[a-fA-F0-9]{0,5}$")));
}
// Ok/Cancel
QPushButton* button_ok = new QPushButton(tr("OK"));
QPushButton* button_cancel = new QPushButton(tr("Cancel"));