aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQball Cow <qball@qballcow.nl>2007-01-11 14:47:12 +0000
committerQball Cow <qball@qballcow.nl>2007-01-11 14:47:12 +0000
commit2d985b01c2685f8f05fdc7c1e78cbca0f170b5b9 (patch)
tree06d3a60014a3d2a42ef8b4f9090c4bdb620595a5
parent44c5549b46a266a55b3e03c4cea19d4502cdd9e2 (diff)
downloadmpd-2d985b01c2685f8f05fdc7c1e78cbca0f170b5b9.tar.gz
mpd-2d985b01c2685f8f05fdc7c1e78cbca0f170b5b9.tar.xz
mpd-2d985b01c2685f8f05fdc7c1e78cbca0f170b5b9.zip
Remove a line of dead code
git-svn-id: https://svn.musicpd.org/mpd/trunk@5235 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/playlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c
index f38db6928..a9ffe5982 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -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;