]> granicus.if.org Git - graphviz/commitdiff
janitor - suppress some "value computed is not used" messages from gcc-4.1.0
authorellson <devnull@localhost>
Thu, 22 Dec 2005 18:26:17 +0000 (18:26 +0000)
committerellson <devnull@localhost>
Thu, 22 Dec 2005 18:26:17 +0000 (18:26 +0000)
lib/graph/agxbuf.h

index 767fe7c81fa7370f64889459bf08dc24ebd10648..cbfb172d2222292c948c435784676d03265143b7 100644 (file)
@@ -67,7 +67,7 @@ extern "C" {
  * Add character to buffer.
  *  int agxbputc(agxbuf*, char)
  */
-#define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), \
+#define agxbputc(X,C) (void)((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), \
           (int)(*(X)->ptr++ = ((unsigned char)C)))
 
 /* agxbuse: