From 2dde958478f13c195723d5add076e5ef79bbeabe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 21 Sep 2010 09:10:01 +0000 Subject: [PATCH] eq menu: remove write-only variable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28137 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/eq_menu.c | 5 +---- 1 file changed, 1 insertion(+), 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), "");