From: ellson Date: Thu, 22 Dec 2005 18:26:17 +0000 (+0000) Subject: janitor - suppress some "value computed is not used" messages from gcc-4.1.0 X-Git-Tag: LAST_LIBGRAPH~32^2~6912 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af67531505634b6a05a3cc2eb0807cf19fc6a6b4;p=graphviz janitor - suppress some "value computed is not used" messages from gcc-4.1.0 --- diff --git a/lib/graph/agxbuf.h b/lib/graph/agxbuf.h index 767fe7c81..cbfb172d2 100644 --- a/lib/graph/agxbuf.h +++ b/lib/graph/agxbuf.h @@ -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: