From d7da75a68277e3c9e07a34d00df84d8e24ff93ad Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 7 Nov 2020 13:42:44 +0100 Subject: [PATCH] Remove 2 -Wunused-but-set-variable warnings in dotsplines.c --- lib/dotgen/dotsplines.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index 69f3bf950..605260066 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -1953,33 +1953,23 @@ completeregularpath(path * P, edge_t * first, edge_t * last, edge_t *uleft, *uright, *lleft, *lright; int i, fb, lb; splines *spl; - pointf *pp; - int pn; fb = lb = -1; uleft = uright = NULL; uleft = top_bound(first, -1), uright = top_bound(first, 1); if (uleft) { if (!(spl = getsplinepoints(uleft))) return; - pp = spl->list[0].list; - pn = spl->list[0].size; } if (uright) { if (!(spl = getsplinepoints(uright))) return; - pp = spl->list[0].list; - pn = spl->list[0].size; } lleft = lright = NULL; lleft = bot_bound(last, -1), lright = bot_bound(last, 1); if (lleft) { if (!(spl = getsplinepoints(lleft))) return; - pp = spl->list[spl->size - 1].list; - pn = spl->list[spl->size - 1].size; } if (lright) { if (!(spl = getsplinepoints(lright))) return; - pp = spl->list[spl->size - 1].list; - pn = spl->list[spl->size - 1].size; } for (i = 0; i < tendp->boxn; i++) add_box(P, tendp->boxes[i]); -- 2.40.0