playlist: showPlaylist() and shufflePlaylist() cannot fail

Make them both return void.
This commit is contained in:
Max Kellermann
2008-09-07 13:39:19 +02:00
parent e1bf96672e
commit 20feb0cbba
3 changed files with 8 additions and 10 deletions

View File

@@ -437,13 +437,15 @@ static int handleDeleteId(int fd, mpd_unused int *permission,
static int handlePlaylist(int fd, mpd_unused int *permission,
mpd_unused int argc, mpd_unused char *argv[])
{
return showPlaylist(fd);
showPlaylist(fd);
return 0;
}
static int handleShuffle(int fd, mpd_unused int *permission,
mpd_unused int argc, mpd_unused char *argv[])
{
return shufflePlaylist(fd);
shufflePlaylist(fd);
return 0;
}
static int handleClear(mpd_unused int fd, mpd_unused int *permission,