remove unused parameter ix to emitEdge
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Apr 2021 04:07:28 +0000 (21:07 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 17 Apr 2021 21:02:40 +0000 (14:02 -0700)
lib/ortho/ortho.c

index 915a36945983cd7cc48a532fa03f13f82807254b..059c835a313384551cb2f4eb8157cf87d06d1da1 100644 (file)
@@ -1425,7 +1425,7 @@ coordOf (cell* cp, snode* np)
 }
 
 static boxf
-emitEdge (FILE* fp, Agedge_t* e, route rte, maze* m, int ix, boxf bb)
+emitEdge (FILE* fp, Agedge_t* e, route rte, maze* m, boxf bb)
 {
     int x, y;
     boxf n = CELL(agtail(e))->bb;
@@ -1528,7 +1528,7 @@ emitGraph (FILE* fp, maze* mp, int n_edges, route* route_list, epair_t es[])
     }
 
     for (i = 0; i < n_edges; i++) {
-       absbb = emitEdge (fp, es[i].e, route_list[i], mp, i, absbb);
+       absbb = emitEdge (fp, es[i].e, route_list[i], mp, absbb);
     }
     
     fputs ("0.8 0.8 0.8 setrgbcolor\n", fp);