From b600a9a92f139ea7c366f0ec83abb0136c0327ad Mon Sep 17 00:00:00 2001
From: Matthew Fernandez <matthew.fernandez@gmail.com>
Date: Fri, 29 Jul 2022 17:24:05 -0700
Subject: [PATCH] neatogen tweakEnd: remove unused 'pl' parameter

---
 lib/neatogen/multispline.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lib/neatogen/multispline.c b/lib/neatogen/multispline.c
index bccfbb181..de1087d39 100644
--- a/lib/neatogen/multispline.c
+++ b/lib/neatogen/multispline.c
@@ -756,9 +756,7 @@ static void finishEdge(edge_t* e, Ppoly_t spl, int flip) {
  *
  * Otherwise, return p unchanged.
  */
-static Ppoint_t
-tweakEnd (Ppoly_t poly, int s, Ppolyline_t pl, Ppoint_t q)
-{
+static Ppoint_t tweakEnd (Ppoly_t poly, int s, Ppoint_t q) {
     Ppoint_t prv, nxt, p;
 
     p = poly.ps[s];
@@ -782,8 +780,8 @@ tweakEnd (Ppoly_t poly, int s, Ppolyline_t pl, Ppoint_t q)
 static void
 tweakPath (Ppoly_t poly, int s, int t, Ppolyline_t pl)
 {
-    pl.ps[0] = tweakEnd (poly, s, pl, pl.ps[1]);
-    pl.ps[pl.pn-1] = tweakEnd (poly, t, pl, pl.ps[pl.pn-2]);
+    pl.ps[0] = tweakEnd (poly, s, pl.ps[1]);
+    pl.ps[pl.pn-1] = tweakEnd (poly, t, pl.ps[pl.pn-2]);
 }
 
 
-- 
2.40.0