From: ellson Date: Sat, 19 Nov 2005 21:01:28 +0000 (+0000) Subject: janitor - fix warning: X-Git-Tag: LAST_LIBGRAPH~32^2~6961 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76e890eb2437662bba82ad7051464e77895a964b;p=graphviz janitor - fix warning: "neatoinit.c:204: warning: suggest parentheses around assignment used as truth value" --- diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index bf5edaac8..9717f8d94 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -201,7 +201,7 @@ static int numFields(unsigned char *pos) do { while (isspace(*pos)) pos++; /* skip white space */ - if (c = *pos) { /* skip token */ + if ((c = *pos)) { /* skip token */ cnt++; while ((c = *pos) && !isspace(c) && (c != ';')) pos++;