mirror of https://github.com/stella-emu/stella.git
Eliminate unused variable (found by gcc-9).
This commit is contained in:
parent
1b4b2b3fe5
commit
28ad745b66
|
@ -143,7 +143,7 @@ GameInfoDialog::GameInfoDialog(
|
||||||
xpos = HBORDER; ypos = VBORDER;
|
xpos = HBORDER; ypos = VBORDER;
|
||||||
lwidth = font.getStringWidth(GUI::RIGHT_DIFFICULTY + " ");
|
lwidth = font.getStringWidth(GUI::RIGHT_DIFFICULTY + " ");
|
||||||
|
|
||||||
StaticTextWidget* s = new StaticTextWidget(myTab, font, xpos, ypos + 1, "TV type");
|
new StaticTextWidget(myTab, font, xpos, ypos + 1, "TV type");
|
||||||
myTVTypeGroup = new RadioButtonGroup();
|
myTVTypeGroup = new RadioButtonGroup();
|
||||||
RadioButtonWidget* r = new RadioButtonWidget(myTab, font, xpos + lwidth, ypos + 1,
|
RadioButtonWidget* r = new RadioButtonWidget(myTab, font, xpos + lwidth, ypos + 1,
|
||||||
"Color", myTVTypeGroup);
|
"Color", myTVTypeGroup);
|
||||||
|
@ -154,7 +154,7 @@ GameInfoDialog::GameInfoDialog(
|
||||||
wid.push_back(r);
|
wid.push_back(r);
|
||||||
ypos += lineHeight + VGAP * 2;
|
ypos += lineHeight + VGAP * 2;
|
||||||
|
|
||||||
s = new StaticTextWidget(myTab, font, xpos, ypos+1, GUI::LEFT_DIFFICULTY);
|
new StaticTextWidget(myTab, font, xpos, ypos+1, GUI::LEFT_DIFFICULTY);
|
||||||
myLeftDiffGroup = new RadioButtonGroup();
|
myLeftDiffGroup = new RadioButtonGroup();
|
||||||
r = new RadioButtonWidget(myTab, font, xpos + lwidth, ypos + 1,
|
r = new RadioButtonWidget(myTab, font, xpos + lwidth, ypos + 1,
|
||||||
"A (Expert)", myLeftDiffGroup);
|
"A (Expert)", myLeftDiffGroup);
|
||||||
|
@ -165,7 +165,7 @@ GameInfoDialog::GameInfoDialog(
|
||||||
wid.push_back(r);
|
wid.push_back(r);
|
||||||
ypos += lineHeight + VGAP * 2;
|
ypos += lineHeight + VGAP * 2;
|
||||||
|
|
||||||
s = new StaticTextWidget(myTab, font, xpos, ypos+1, GUI::RIGHT_DIFFICULTY);
|
new StaticTextWidget(myTab, font, xpos, ypos+1, GUI::RIGHT_DIFFICULTY);
|
||||||
myRightDiffGroup = new RadioButtonGroup();
|
myRightDiffGroup = new RadioButtonGroup();
|
||||||
r = new RadioButtonWidget(myTab, font, xpos + lwidth, ypos + 1,
|
r = new RadioButtonWidget(myTab, font, xpos + lwidth, ypos + 1,
|
||||||
"A (Expert)", myRightDiffGroup);
|
"A (Expert)", myRightDiffGroup);
|
||||||
|
|
Loading…
Reference in New Issue