diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index 0a997f4..892c45f 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -49,7 +49,7 @@ bool SettingsDialog::exec() { bg.convertToDisplayFormat(); bool close = false, ts_pressed = false; - uint i, sel = 0, iY, firstElement = 0, action; + uint i, sel = 0, iY, firstElement = 0; voices[sel]->adjustInput(); SDL_Rect clipRect = {0, gmenu2x->skinConfInt["topBarHeight"]+1, gmenu2x->resX-9, gmenu2x->resY-gmenu2x->skinConfInt["topBarHeight"]-25}; @@ -58,7 +58,6 @@ bool SettingsDialog::exec() { uint numRows = (gmenu2x->resY-gmenu2x->skinConfInt["topBarHeight"]-20)/rowHeight; while (!close) { - action = SD_NO_ACTION; if (ts.initialized()) ts.poll(); bg.blit(gmenu2x->s,0,0); diff --git a/src/settingsdialog.h b/src/settingsdialog.h index 8a89286..832ca56 100644 --- a/src/settingsdialog.h +++ b/src/settingsdialog.h @@ -21,11 +21,6 @@ #ifndef SETTINGSDIALOG_H_ #define SETTINGSDIALOG_H_ -#define SD_NO_ACTION 0 -#define SD_ACTION_CLOSE 1 -#define SD_ACTION_UP 2 -#define SD_ACTION_DOWN 3 - #include #include "gmenu2x.h" #include "menusetting.h"