Remove a line of dead code
git-svn-id: https://svn.musicpd.org/mpd/trunk@5235 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
44c5549b46
commit
2d985b01c2
@ -940,8 +940,7 @@ int playPlaylistOrderNumber(int fd, int orderNum)
|
||||
if (playerPlay(fd, (playlist.songs[playlist.order[orderNum]])) < 0) {
|
||||
stopPlaylist(fd);
|
||||
return -1;
|
||||
} else
|
||||
playlist.current++;
|
||||
}
|
||||
|
||||
playlist.current = orderNum;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user