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
This commit is contained in:
Max Kellermann
2008-03-26 10:37:23 +00:00
committed by Eric Wong
parent 66fe580642
commit b546bcfec6
5 changed files with 4 additions and 12 deletions

View File

@@ -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)