Do not return value in a void func
authorAdam Dickmeiss <adam@indexdata.dk>
Sun, 11 Apr 2010 09:49:36 +0000 (11:49 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Sun, 11 Apr 2010 09:49:36 +0000 (11:49 +0200)
src/json.c

index b844b51..91cb4e4 100644 (file)
@@ -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)