From 9aa6842a8bedf471b2dc84fff51726994976de91 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 31 Oct 2020 16:39:56 -0700 Subject: [PATCH] remove unused sg variable --- lib/dotgen/mincross.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } -- 2.40.0