void function cannot return value
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 12 Nov 2013 11:02:43 +0000 (12:02 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 12 Nov 2013 11:02:43 +0000 (12:02 +0100)
src/http_command.c

index f11ae21..1273b8b 100644 (file)
@@ -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)