From 52aadcb28792d5d0e199520b2ca40ac0d910925f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 12 Nov 2013 12:02:43 +0100 Subject: [PATCH] void function cannot return value --- src/http_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4