From bd81fd8b0c4f4f3c20533e21d6a837326eb8682b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 19:19:48 +0200 Subject: playlist: return -1 after assert(0) print_playlist_result() had an assert(0) at the end, in case there was an invalid result value. With NDEBUG, this resulted in a function not returning a value - add a dummy "return -1" at the end to keep gcc quiet. --- src/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/command.c b/src/command.c index 390908d30..2e45d6d25 100644 --- a/src/command.c +++ b/src/command.c @@ -277,6 +277,7 @@ static int print_playlist_result(struct client *client, } assert(0); + return -1; } static void addCommand(const char *name, -- cgit v1.2.3