From: Matthew Fernandez Date: Sat, 31 Oct 2020 23:39:56 +0000 (-0700) Subject: remove unused sg variable X-Git-Tag: 2.46.0~18^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9aa6842a8bedf471b2dc84fff51726994976de91;p=graphviz remove unused sg variable --- diff --git a/lib/dotgen/mincross.c b/lib/dotgen/mincross.c index 222138659..489ee5a38 100644 --- a/lib/dotgen/mincross.c +++ b/lib/dotgen/mincross.c @@ -1165,10 +1165,9 @@ realFillRanks (Agraph_t* g, int rnks[], int rnks_sz, Agraph_t* sg) static void fillRanks (Agraph_t* g) { - Agraph_t* sg; int rnks_sz = GD_maxrank(g) + 2; int* rnks = N_NEW(rnks_sz, int); - sg = realFillRanks (g, rnks, rnks_sz, NULL); + realFillRanks (g, rnks, rnks_sz, NULL); free (rnks); }