From: Adam Dickmeiss Date: Tue, 12 Nov 2013 11:02:43 +0000 (+0100) Subject: void function cannot return value X-Git-Tag: v1.6.37~15 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=52aadcb28792d5d0e199520b2ca40ac0d910925f;p=pazpar2-moved-to-github.git void function cannot return value --- diff --git a/src/http_command.c b/src/http_command.c index f11ae21..1273b8b 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -299,7 +299,7 @@ static void error(struct http_response *rs, enum pazpar2_error_code code, const char *addinfo) { - return error2(rs, code, addinfo, 0); + error2(rs, code, addinfo, 0); } static void response_open_command(struct http_channel *c, const char *command)