From a606039bceb5fb70f8ea8cfd88261f6f25ccc736 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 11 Apr 2010 11:49:36 +0200 Subject: [PATCH] Do not return value in a void func --- src/json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4