summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-01-25 21:40:55 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-01-25 21:40:55 +0000
commit4c385729975db3dc5f89d260a34ac7d48cf7fb08 (patch)
treeb643b37a9d501c8b57ade277704527ee0703a0e4
parentd796ab6f61a4a336c53d6689750aa0eca118bbfd (diff)
downloadrockbox-4c385729975db3dc5f89d260a34ac7d48cf7fb08.tar.gz
rockbox-4c385729975db3dc5f89d260a34ac7d48cf7fb08.tar.bz2
rockbox-4c385729975db3dc5f89d260a34ac7d48cf7fb08.zip
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
-rw-r--r--apps/gui/skin_engine/wps_internals.h1
-rw-r--r--apps/gui/wps.c4
2 files changed, 2 insertions, 3 deletions
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,