diff options
-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; } |