diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:48 +0200 |
commit | bd81fd8b0c4f4f3c20533e21d6a837326eb8682b (patch) | |
tree | d5db6eba416e259cb89310451ae26a9e6dda77f8 /src | |
parent | 3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660 (diff) | |
download | mpd-bd81fd8b0c4f4f3c20533e21d6a837326eb8682b.tar.gz mpd-bd81fd8b0c4f4f3c20533e21d6a837326eb8682b.tar.xz mpd-bd81fd8b0c4f4f3c20533e21d6a837326eb8682b.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |