diff options
author | Max Kellermann <max@duempel.org> | 2008-03-26 10:37:23 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-03-26 10:37:23 +0000 |
commit | b546bcfec63822ad3bf3ae4ee71472dfa3aac010 (patch) | |
tree | cc403adde39a933f96c89f62a7e4486c69f094be /src/playlist.c | |
parent | 66fe58064295f838f894758d92b087100ce022aa (diff) | |
download | mpd-b546bcfec63822ad3bf3ae4ee71472dfa3aac010.tar.gz mpd-b546bcfec63822ad3bf3ae4ee71472dfa3aac010.tar.xz mpd-b546bcfec63822ad3bf3ae4ee71472dfa3aac010.zip |
fix "unreachable code" warning
There is unreachable code at several positions, e.g. after an
#if/#end, or after an endless loop. Remove that.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7197 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/playlist.c b/src/playlist.c index e310f5fcf..81c3ee687 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -973,8 +973,6 @@ static int currentSongInPlaylist(int fd) return playPlaylistOrderNumber(fd, playlist.current); } else return stopPlaylist(fd); - - return 0; } int nextSongInPlaylist(int fd) @@ -996,8 +994,6 @@ int nextSongInPlaylist(int fd) incrPlaylistCurrent(); return stopPlaylist(fd); } - - return 0; } void playPlaylistIfPlayerStopped(void) @@ -1270,8 +1266,6 @@ int previousSongInPlaylist(int fd) return playPlaylistOrderNumber(fd, playlist.current); } } - - return 0; } int shufflePlaylist(int fd) |