diff options
author | Eugene Sandulenko | 2013-07-14 19:22:53 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-07-14 19:22:53 +0300 |
commit | 51046d0ce722309a0a347849e0a60176e0b9069c (patch) | |
tree | a450246b5e43bbfcbf60282147f5d411df0b589d /gui | |
parent | e3a11085a9c07082dfebb8b4bcf4031ac0569df5 (diff) | |
download | scummvm-rg350-51046d0ce722309a0a347849e0a60176e0b9069c.tar.gz scummvm-rg350-51046d0ce722309a0a347849e0a60176e0b9069c.tar.bz2 scummvm-rg350-51046d0ce722309a0a347849e0a60176e0b9069c.zip |
RECORDER: Fix CID 1046881. Unused value
Diffstat (limited to 'gui')
-rw-r--r-- | gui/onscreendialog.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gui/onscreendialog.cpp b/gui/onscreendialog.cpp index efe8038e68..84b84f0192 100644 --- a/gui/onscreendialog.cpp +++ b/gui/onscreendialog.cpp @@ -97,18 +97,17 @@ OnScreenDialog::OnScreenDialog(bool isRecord) : Dialog("OnScreenDialog") { } else #endif { - GUI::ButtonWidget *btn; if (g_system->getOverlayWidth() > 320) - btn = new ButtonWidget(this, "OnScreenDialog.StopButton", "[ ]", _("Stop"), kStopCmd); + new ButtonWidget(this, "OnScreenDialog.StopButton", "[ ]", _("Stop"), kStopCmd); else - btn = new ButtonWidget(this, "OnScreenDialog.StopButton", "[]", _("Stop"), kStopCmd); + new ButtonWidget(this, "OnScreenDialog.StopButton", "[]", _("Stop"), kStopCmd); if (isRecord) { - btn = new ButtonWidget(this, "OnScreenDialog.EditButton", "E", _("Edit record description"), kEditCmd); + new ButtonWidget(this, "OnScreenDialog.EditButton", "E", _("Edit record description"), kEditCmd); } else { - btn = new ButtonWidget(this, "OnScreenDialog.SwitchModeButton", "G", _("Switch to Game"), kSwitchModeCmd); + new ButtonWidget(this, "OnScreenDialog.SwitchModeButton", "G", _("Switch to Game"), kSwitchModeCmd); - btn = new ButtonWidget(this, "OnScreenDialog.FastReplayButton", ">>", _("Fast replay"), kFastModeCmd); + new ButtonWidget(this, "OnScreenDialog.FastReplayButton", ">>", _("Fast replay"), kFastModeCmd); } } |