]> granicus.if.org Git - graphviz/commitdiff
Remove obsolete code within #ifdef OLD in lib/dotgen/sameport.c
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 4 Sep 2020 12:41:59 +0000 (14:41 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 4 Sep 2020 15:57:07 +0000 (17:57 +0200)
Was obsoleted 15 years ago.

lib/dotgen/sameport.c

index 6c9b227e148e08d308814bd1312da4736447e1ad..9059e540008cee427a539bb98da8176b9f202a44 100644 (file)
@@ -120,10 +120,6 @@ static void sameport(node_t * u, elist * l, double arr_len)
     double x = 0, y = 0, x1, y1, x2, y2, r;
     port prt;
     int sflag, eflag;
-#ifdef OLD
-    int ht;
-    port arr_prt;
-#endif
 
     /* Compute the direction vector (x,y) of the average direction. We compute
        with direction vectors instead of angles because else we have to first