summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-21 09:10:01 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-21 09:10:01 +0000
commit2dde958478f13c195723d5add076e5ef79bbeabe (patch)
tree1281a84b66163f1559a2e0d1a0d61509e8db02f8 /apps
parent53ac2ca831905030421b5408bbc4c685eed644d4 (diff)
downloadrockbox-2dde958478f13c195723d5add076e5ef79bbeabe.tar.gz
rockbox-2dde958478f13c195723d5add076e5ef79bbeabe.zip
eq menu: remove write-only variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28137 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/menus/eq_menu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c
index d64dd50e7d..be1dd42b28 100644
--- a/apps/menus/eq_menu.c
+++ b/apps/menus/eq_menu.c
@@ -386,7 +386,7 @@ bool eq_menu_graphical(void)
bool has_changed = false;
int button;
int *setting;
- int current_band, x, y, step, fast_step, min, max, voice_unit;
+ int current_band, x, y, step, fast_step, min, max;
enum eq_slider_mode mode;
char buf[24];
int i, w, h, height, start_item, nb_eq_sliders[NB_SCREENS];
@@ -436,7 +436,6 @@ bool eq_menu_graphical(void)
fast_step = EQ_GAIN_FAST_STEP;
min = EQ_GAIN_MIN;
max = EQ_GAIN_MAX;
- voice_unit = UNIT_DB;
snprintf(buf, sizeof(buf), str(LANG_SYSFONT_EQUALIZER_EDIT_MODE),
str(LANG_SYSFONT_GAIN), "(dB)");
@@ -451,7 +450,6 @@ bool eq_menu_graphical(void)
fast_step = EQ_CUTOFF_FAST_STEP;
min = EQ_CUTOFF_MIN;
max = EQ_CUTOFF_MAX;
- voice_unit = UNIT_HERTZ;
snprintf(buf, sizeof(buf), str(LANG_SYSFONT_EQUALIZER_EDIT_MODE),
str(LANG_SYSFONT_EQUALIZER_BAND_CUTOFF), "(Hz)");
@@ -466,7 +464,6 @@ bool eq_menu_graphical(void)
fast_step = EQ_Q_FAST_STEP;
min = EQ_Q_MIN;
max = EQ_Q_MAX;
- voice_unit = UNIT_INT;
snprintf(buf, sizeof(buf), str(LANG_SYSFONT_EQUALIZER_EDIT_MODE),
str(LANG_EQUALIZER_BAND_Q), "");