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:
parent
f75d912d7c
commit
1dfebdddbe
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue