summaryrefslogtreecommitdiff
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.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
306 int ff_rewind_count; 306 int ff_rewind_count;
307 bool ff_rewind; 307 bool ff_rewind;
308 bool paused; 308 bool paused;
309 bool wps_time_countup;
310 bool is_fading; 309 bool is_fading;
311}; 310};
312 311
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)
355 355
356 /* set the wps state ff_rewind_count so the progess info 356 /* set the wps state ff_rewind_count so the progess info
357 displays corectly */ 357 displays corectly */
358 skin_get_global_state()->ff_rewind_count = (skin_get_global_state()->wps_time_countup == false)? 358 skin_get_global_state()->ff_rewind_count = ff_rewind_count;
359 ff_rewind_count:-ff_rewind_count; 359
360 FOR_NB_SCREENS(i) 360 FOR_NB_SCREENS(i)
361 { 361 {
362 skin_update(WPS, i, 362 skin_update(WPS, i,