From b546bcfec63822ad3bf3ae4ee71472dfa3aac010 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 26 Mar 2008 10:37:23 +0000 Subject: 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 --- src/playlist.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/playlist.c') 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) -- cgit v1.2.3