playlist_shuffle(): remove unused variable

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28108 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-09-19 08:16:40 +00:00
parent f75d912d7c
commit 1dfebdddbe

View file

@ -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;
}