From 4c385729975db3dc5f89d260a34ac7d48cf7fb08 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Tue, 25 Jan 2011 21:40:55 +0000 Subject: Remove WPS related variable which is read but not set or changed. Closes FS#11396. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29139 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/wps_internals.h | 1 - apps/gui/wps.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 2bf0ee9fe0..83e94b6f8d 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h @@ -306,7 +306,6 @@ struct wps_state int ff_rewind_count; bool ff_rewind; bool paused; - bool wps_time_countup; bool is_fading; }; diff --git a/apps/gui/wps.c b/apps/gui/wps.c index cc20148515..48498fefd4 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -355,8 +355,8 @@ bool ffwd_rew(int button) /* set the wps state ff_rewind_count so the progess info displays corectly */ - skin_get_global_state()->ff_rewind_count = (skin_get_global_state()->wps_time_countup == false)? - ff_rewind_count:-ff_rewind_count; + skin_get_global_state()->ff_rewind_count = ff_rewind_count; + FOR_NB_SCREENS(i) { skin_update(WPS, i, -- cgit