]> granicus.if.org Git - graphviz/commitdiff
remove now-unused local variable in sAdjust
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Apr 2021 04:24:07 +0000 (21:24 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 20:31:56 +0000 (13:31 -0700)
lib/neatogen/adjust.c

index 1f3e52a53681049e4542c8b3634c0d43091b118e..be0bfefbdae34463e50486e3686d4fe167e735d6 100644 (file)
@@ -589,7 +589,6 @@ static int sAdjust(void)
     int iterCnt = 0;
     int overlapCnt = 0;
     int cnt;
-    Point center;
 
     if (!useIter || iterations > 0)
        overlapCnt = countOverlap(iterCnt);
@@ -598,8 +597,6 @@ static int sAdjust(void)
        return 0;
 
     rmEquality();
-    center.x = (pxmin + pxmax) / 2.0;
-    center.y = (pymin + pymax) / 2.0;
     while (1) {
        rePos();
        iterCnt++;