diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-19 08:16:40 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-19 08:16:40 +0000 |
commit | 1dfebdddbede00cf3c0843653ba2f00d8308d246 (patch) | |
tree | 0a993f29cecc25fbdf7c95a394b9a90d7ae1535e /apps/playlist.c | |
parent | f75d912d7c1354cf5a6de2a8a7e39f8fa5738311 (diff) | |
download | rockbox-1dfebdddbede00cf3c0843653ba2f00d8308d246.tar.gz rockbox-1dfebdddbede00cf3c0843653ba2f00d8308d246.zip |
playlist_shuffle(): remove unused variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28108 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 2 |
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 = ¤t_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; } |