diff options
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 4d56062c8d..6486e42fbb 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -120,7 +120,6 @@ char* wps_default_skin(enum screen_type screen) | |||
120 | 120 | ||
121 | static void update_non_static(void) | 121 | static void update_non_static(void) |
122 | { | 122 | { |
123 | int i; | ||
124 | FOR_NB_SCREENS(i) | 123 | FOR_NB_SCREENS(i) |
125 | skin_update(WPS, i, SKIN_REFRESH_NON_STATIC); | 124 | skin_update(WPS, i, SKIN_REFRESH_NON_STATIC); |
126 | } | 125 | } |
@@ -306,7 +305,6 @@ bool ffwd_rew(int button) | |||
306 | int direction = -1; /* forward=1 or backward=-1 */ | 305 | int direction = -1; /* forward=1 or backward=-1 */ |
307 | bool exit = false; | 306 | bool exit = false; |
308 | bool usb = false; | 307 | bool usb = false; |
309 | int i = 0; | ||
310 | const long ff_rw_accel = (global_settings.ff_rewind_accel + 3); | 308 | const long ff_rw_accel = (global_settings.ff_rewind_accel + 3); |
311 | 309 | ||
312 | if (button == ACTION_NONE) | 310 | if (button == ACTION_NONE) |
@@ -630,8 +628,6 @@ static void wps_lcd_activation_hook(void *param) | |||
630 | 628 | ||
631 | static void gwps_leave_wps(void) | 629 | static void gwps_leave_wps(void) |
632 | { | 630 | { |
633 | int i; | ||
634 | |||
635 | FOR_NB_SCREENS(i) | 631 | FOR_NB_SCREENS(i) |
636 | { | 632 | { |
637 | skin_get_gwps(WPS, i)->display->stop_scroll(); | 633 | skin_get_gwps(WPS, i)->display->stop_scroll(); |
@@ -657,7 +653,6 @@ static void gwps_leave_wps(void) | |||
657 | * display the wps on entering or restoring */ | 653 | * display the wps on entering or restoring */ |
658 | static void gwps_enter_wps(void) | 654 | static void gwps_enter_wps(void) |
659 | { | 655 | { |
660 | int i; | ||
661 | struct gui_wps *gwps; | 656 | struct gui_wps *gwps; |
662 | struct screen *display; | 657 | struct screen *display; |
663 | FOR_NB_SCREENS(i) | 658 | FOR_NB_SCREENS(i) |
@@ -738,7 +733,6 @@ long gui_wps_show(void) | |||
738 | bool bookmark = false; | 733 | bool bookmark = false; |
739 | bool update = false; | 734 | bool update = false; |
740 | bool vol_changed = false; | 735 | bool vol_changed = false; |
741 | int i; | ||
742 | long last_left = 0, last_right = 0; | 736 | long last_left = 0, last_right = 0; |
743 | struct wps_state *state = skin_get_global_state(); | 737 | struct wps_state *state = skin_get_global_state(); |
744 | 738 | ||