Get rid of unused variables
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 31 Jul 2011 06:57:52 +0000 (08:57 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 2 Aug 2011 08:11:39 +0000 (10:11 +0200)
src/guiKeyChangeMenu.cpp

index 7855751ffce6b993c0503dcacfbd5590b9cdfbd2..ffc676603b10e2d7fc30df0040e915510228b9da 100644 (file)
@@ -263,7 +263,6 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize)
        {
                core::rect < s32 > rect(0, 0, 100, 20);
                rect += topleft + v2s32(offset.X, offset.Y);
-               const wchar_t *text = L"Range select";
                Environment->addStaticText(chartowchar_t(gettext("Range select")),
                                rect, false, true, this, -1);
                //t->setTextAlignment(gui::EGUIA_CENTER, gui::EGUIA_UPPERLEFT);
@@ -281,7 +280,6 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize)
        {
                core::rect < s32 > rect(0, 0, 100, 20);
                rect += topleft + v2s32(offset.X, offset.Y);
-               const wchar_t *text = L"Print stacks";
                Environment->addStaticText(chartowchar_t(gettext("Print stacks")),
                                rect, false, true, this, -1);
                //t->setTextAlignment(gui::EGUIA_CENTER, gui::EGUIA_UPPERLEFT);