From 1b89544003c3a156ae293cf6e3163d4325775e21 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 11 Mar 2022 20:22:49 -0800 Subject: [PATCH] finishEdge: remove now-unused 'p1' and 'q1' locals --- lib/neatogen/multispline.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/neatogen/multispline.c b/lib/neatogen/multispline.c index 24dac2969..32b75876d 100644 --- a/lib/neatogen/multispline.c +++ b/lib/neatogen/multispline.c @@ -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))); -- 2.40.0