From: Adam Dickmeiss Date: Sun, 11 Apr 2010 09:49:36 +0000 (+0200) Subject: Do not return value in a void func X-Git-Tag: v4.0.4~22 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a606039bceb5fb70f8ea8cfd88261f6f25ccc736;p=yaz-moved-to-github.git Do not return value in a void func --- diff --git a/src/json.c b/src/json.c index b844b51..91cb4e4 100644 --- a/src/json.c +++ b/src/json.c @@ -497,7 +497,7 @@ static void wrbuf_json_write(WRBUF b, const char *cp, size_t sz) void wrbuf_json_puts(WRBUF b, const char *str) { - return wrbuf_json_write(b, str, strlen(str)); + wrbuf_json_write(b, str, strlen(str)); } void json_write_wrbuf(struct json_node *node, WRBUF result)