]> granicus.if.org Git - graphviz/commitdiff
finishEdge: remove now-unused 'p' and 'q' parameters
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 12 Mar 2022 04:29:20 +0000 (20:29 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 13 Mar 2022 18:32:34 +0000 (11:32 -0700)
lib/neatogen/multispline.c

index 32b75876d186eab3daf665790a4a29c3e7b0b5e5..44d6a9f270acb8891730f84031d98cf369b096c7 100644 (file)
@@ -714,7 +714,7 @@ router_t *mkRouter(Ppoly_t** obsp, int npoly)
  * Finish edge generation, clipping to nodes and adding arrowhead
  * if necessary, and adding edge labels
  */
-static void finishEdge(edge_t* e, Ppoly_t spl, int flip, pointf p, pointf q) {
+static void finishEdge(edge_t* e, Ppoly_t spl, int flip) {
     int j;
     pointf *spline = N_GNEW(spl.pn, pointf);
 
@@ -833,7 +833,7 @@ static int genroute(tripoly_t * trip, int s, int t, edge_t * e, int doPolyline)
            rv = 1;
            goto finish;
        }
-       finishEdge(e, spl, aghead(e) != head, eps[0], eps[1]);
+       finishEdge(e, spl, aghead(e) != head);
        free(medges);
 
        return 0;
@@ -886,7 +886,7 @@ static int genroute(tripoly_t * trip, int s, int t, edge_t * e, int doPolyline)
                goto finish;
            }
        }
-       finishEdge(e, spl, aghead(e) != head, eps[0], eps[1]);
+       finishEdge(e, spl, aghead(e) != head);
 
        e = ED_to_virt(e);
     }