diff options
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/eq_menu.c | 2 | ||||
-rw-r--r-- | apps/menus/recording_menu.c | 4 | ||||
-rw-r--r-- | apps/menus/time_menu.c | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c index be1dd42b28..c1d9792c44 100644 --- a/apps/menus/eq_menu.c +++ b/apps/menus/eq_menu.c | |||
@@ -389,7 +389,7 @@ bool eq_menu_graphical(void) | |||
389 | int current_band, x, y, step, fast_step, min, max; | 389 | int current_band, x, y, step, fast_step, min, max; |
390 | enum eq_slider_mode mode; | 390 | enum eq_slider_mode mode; |
391 | char buf[24]; | 391 | char buf[24]; |
392 | int i, w, h, height, start_item, nb_eq_sliders[NB_SCREENS]; | 392 | int w, h, height, start_item, nb_eq_sliders[NB_SCREENS]; |
393 | FOR_NB_SCREENS(i) | 393 | FOR_NB_SCREENS(i) |
394 | viewportmanager_theme_enable(i, false, NULL); | 394 | viewportmanager_theme_enable(i, false, NULL); |
395 | 395 | ||
diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c index ae237b1b4a..3eeb8bc47e 100644 --- a/apps/menus/recording_menu.c +++ b/apps/menus/recording_menu.c | |||
@@ -458,7 +458,7 @@ int rectrigger(void) | |||
458 | { | 458 | { |
459 | struct viewport vp[NB_SCREENS], triggervp[NB_SCREENS]; | 459 | struct viewport vp[NB_SCREENS], triggervp[NB_SCREENS]; |
460 | struct gui_synclist lists; | 460 | struct gui_synclist lists; |
461 | int i, action = ACTION_REDRAW; | 461 | int action = ACTION_REDRAW; |
462 | bool done = false, changed = true; | 462 | bool done = false, changed = true; |
463 | const struct settings_list *settings[TRIG_OPTION_COUNT]; | 463 | const struct settings_list *settings[TRIG_OPTION_COUNT]; |
464 | 464 | ||
@@ -550,7 +550,7 @@ int rectrigger(void) | |||
550 | pm_x, pm_y, pm_h, NB_SCREENS, triggervp); | 550 | pm_x, pm_y, pm_h, NB_SCREENS, triggervp); |
551 | FOR_NB_SCREENS(i) | 551 | FOR_NB_SCREENS(i) |
552 | screens[i].update(); | 552 | screens[i].update(); |
553 | i = gui_synclist_get_sel_pos(&lists); | 553 | int i = gui_synclist_get_sel_pos(&lists); |
554 | switch (action) | 554 | switch (action) |
555 | { | 555 | { |
556 | case ACTION_STD_CANCEL: | 556 | case ACTION_STD_CANCEL: |
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index 46be790274..6631b46195 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c | |||
@@ -202,7 +202,6 @@ static int time_menu_callback(int action, | |||
202 | const struct menu_item_ex *this_item) | 202 | const struct menu_item_ex *this_item) |
203 | { | 203 | { |
204 | (void)this_item; | 204 | (void)this_item; |
205 | int i; | ||
206 | static int last_redraw = 0; | 205 | static int last_redraw = 0; |
207 | bool redraw = false; | 206 | bool redraw = false; |
208 | 207 | ||
@@ -247,7 +246,7 @@ MAKE_MENU(time_menu, ID2P(LANG_TIME_MENU), time_menu_callback, Icon_NOICON, | |||
247 | int time_screen(void* ignored) | 246 | int time_screen(void* ignored) |
248 | { | 247 | { |
249 | (void)ignored; | 248 | (void)ignored; |
250 | int i, nb_lines, font_h, ret; | 249 | int nb_lines, font_h, ret; |
251 | menu_was_pressed = false; | 250 | menu_was_pressed = false; |
252 | 251 | ||
253 | push_current_activity(ACTIVITY_TIMEDATESCREEN); | 252 | push_current_activity(ACTIVITY_TIMEDATESCREEN); |