aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/playlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 5c14ff406..ce2748930 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -238,8 +238,7 @@ int clearPlaylist(int fd)
int clearStoredPlaylist(int fd, char *utf8file)
{
- removeAllFromStoredPlaylistByPath(fd, utf8file);
- return 0;
+ return removeAllFromStoredPlaylistByPath(fd, utf8file);
}
int showPlaylist(int fd)