Fixed a few more unused variables warnings.

This commit is contained in:
Stephen Anthony 2020-12-27 18:54:51 -03:30
parent 5bab1a10c1
commit 6ad467d657
2 changed files with 3 additions and 3 deletions

View File

@ -38,8 +38,8 @@ CommandDialog::CommandDialog(OSystem& osystem, DialogContainer& parent)
buttonWidth = _font.getStringWidth("Time Machine On") + Dialog::fontWidth() * 2, buttonWidth = _font.getStringWidth("Time Machine On") + Dialog::fontWidth() * 2,
VBORDER = Dialog::vBorder(), VBORDER = Dialog::vBorder(),
HBORDER = Dialog::hBorder(), HBORDER = Dialog::hBorder(),
VGAP = Dialog::vGap(), VGAP = Dialog::vGap();
INDENT = Dialog::indent(); //INDENT = Dialog::indent();
const int HGAP = Dialog::buttonGap(), const int HGAP = Dialog::buttonGap(),
rowHeight = buttonHeight + VGAP; rowHeight = buttonHeight + VGAP;
// Set real dimensions // Set real dimensions

View File

@ -32,7 +32,7 @@ JoystickDialog::JoystickDialog(GuiObject* boss, const GUI::Font& font,
int xpos, ypos; int xpos, ypos;
WidgetArray wid; WidgetArray wid;
const int lineHeight = Dialog::lineHeight(), const int lineHeight = Dialog::lineHeight(),
fontHeight = Dialog::fontHeight(), //fontHeight = Dialog::fontHeight(),
fontWidth = Dialog::fontWidth(), fontWidth = Dialog::fontWidth(),
buttonHeight = Dialog::buttonHeight(), buttonHeight = Dialog::buttonHeight(),
buttonWidth = Dialog::buttonWidth("Remove"), buttonWidth = Dialog::buttonWidth("Remove"),