From 2d985b01c2685f8f05fdc7c1e78cbca0f170b5b9 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Thu, 11 Jan 2007 14:47:12 +0000 Subject: Remove a line of dead code git-svn-id: https://svn.musicpd.org/mpd/trunk@5235 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/playlist.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3