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

index 24dac296950d44b0c89f58d0b0c6474f074d81c6..32b75876d186eab3daf665790a4a29c3e7b0b5e5 100644 (file)
@@ -717,21 +717,16 @@ router_t *mkRouter(Ppoly_t** obsp, int npoly)
 static void finishEdge(edge_t* e, Ppoly_t spl, int flip, pointf p, pointf q) {
     int j;
     pointf *spline = N_GNEW(spl.pn, pointf);
-    pointf p1, q1;
 
     if (flip) {
        for (j = 0; j < spl.pn; j++) {
            spline[spl.pn - 1 - j] = spl.ps[j];
        }
-       p1 = q;
-       q1 = p;
     }
     else {
        for (j = 0; j < spl.pn; j++) {
            spline[j] = spl.ps[j];
        }
-       p1 = p;
-       q1 = q;
     }
     if (Verbose > 1)
        fprintf(stderr, "spline %s %s\n", agnameof(agtail(e)), agnameof(aghead(e)));