Dont call return for void function
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 10 Jul 2009 12:37:32 +0000 (14:37 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 10 Jul 2009 12:37:32 +0000 (14:37 +0200)
src/wrbuf.c

index aa653f7..01532c7 100644 (file)
@@ -37,7 +37,7 @@ WRBUF wrbuf_alloc(void)
 
 void wrbuf_free(WRBUF b, int x)
 {
-     return wrbuf_destroy(b);
+    wrbuf_destroy(b);
 }
 
 void wrbuf_destroy(WRBUF b)