diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:48 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-09 01:24:36 -0700 |
commit | 56c11abbf5a5a6e7b53905f91fda1ba75b02b296 (patch) | |
tree | df8eaa4011cd9e8cbee668f08e0e12791417692f /src | |
parent | f6a9a891177815af39a7100ab90ccb942552b85f (diff) | |
download | mpd-56c11abbf5a5a6e7b53905f91fda1ba75b02b296.tar.gz mpd-56c11abbf5a5a6e7b53905f91fda1ba75b02b296.tar.xz mpd-56c11abbf5a5a6e7b53905f91fda1ba75b02b296.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 1da3736d1..ebca41bde 100644 --- a/src/command.c +++ b/src/command.c @@ -263,6 +263,7 @@ static int print_playlist_result(int fd, enum playlist_result result) } assert(0); + return -1; } static void addCommand(const char *name, |