From 84ef36abf72a34522686aa1ec63edd56d377b3c2 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Tue, 29 Oct 2019 05:23:16 -0400 Subject: [PATCH] cleanup a [-Wparentheses] --- lib/common/ns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/ns.c b/lib/common/ns.c index eaf435db5..282f2ba52 100644 --- a/lib/common/ns.c +++ b/lib/common/ns.c @@ -693,7 +693,7 @@ static void TB_balance(void) nrank = N_NEW(Maxrank + 1, int); for (i = 0; i <= Maxrank; i++) nrank[i] = 0; - if (s = agget(G,"TBbalance")) { + if ( (s = agget(G,"TBbalance")) ) { if (streq(s,"min")) adj = 1; else if (streq(s,"max")) adj = 2; if (adj) for (n = GD_nlist(G); n; n = ND_next(n)) -- 2.40.0