summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-19 08:16:40 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-19 08:16:40 +0000
commit1dfebdddbede00cf3c0843653ba2f00d8308d246 (patch)
tree0a993f29cecc25fbdf7c95a394b9a90d7ae1535e
parentf75d912d7c1354cf5a6de2a8a7e39f8fa5738311 (diff)
downloadrockbox-1dfebdddbede00cf3c0843653ba2f00d8308d246.tar.gz
rockbox-1dfebdddbede00cf3c0843653ba2f00d8308d246.tar.bz2
rockbox-1dfebdddbede00cf3c0843653ba2f00d8308d246.zip
playlist_shuffle(): remove unused variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28108 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playlist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index df39ecfd64..a50dac69cf 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -2399,13 +2399,11 @@ int playlist_shuffle(int random_seed, int start_index)
{
struct playlist_info* playlist = &current_playlist;
- unsigned int seek_pos = 0;
bool start_current = false;
if (start_index >= 0 && global_settings.play_selected)
{
/* store the seek position before the shuffle */
- seek_pos = playlist->indices[start_index];
playlist->index = playlist->first_index = start_index;
start_current = true;
}