]> granicus.if.org Git - graphviz/commitdiff
janitor - void return from agxputc()
authorJohn Ellson <ellson@research.att.com>
Tue, 22 Dec 2015 18:53:11 +0000 (13:53 -0500)
committerJohn Ellson <ellson@research.att.com>
Tue, 22 Dec 2015 18:53:11 +0000 (13:53 -0500)
lib/xdot/xdot.c

index 562f3636c4cab167ec62b2bf49947a480c8f8d57..4c5b8ab0e29cfef010e254792caa6ac66e424ed9 100755 (executable)
@@ -26,7 +26,7 @@ typedef struct {
 } agxbuf;
 
 #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), \
-          (int)(*(X)->ptr++ = ((unsigned char)C)))
+          (void)(*(X)->ptr++ = ((unsigned char)C)))
 #define agxbuse(X) (agxbputc(X,'\0'),(char*)((X)->ptr = (X)->buf))
 
 static void agxbinit(agxbuf * xb, unsigned int hint, unsigned char *init)