From 355c1303e9af2a5269224df2c7d530384822f60d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 6 Oct 2021 20:50:21 -0700 Subject: [PATCH] completeregularpath: squash a -Wunused-parameter warning --- lib/dotgen/dotsplines.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index 4245552e7..415b7bd9b 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -2004,6 +2004,9 @@ completeregularpath(path * P, edge_t * first, edge_t * last, pathend_t * tendp, pathend_t * hendp, boxf * boxes, int boxn, int flag) { + // this implementation of completeregularpath ignores the flag + (void)flag; + edge_t *uleft, *uright, *lleft, *lright; int i, fb, lb; splines *spl; -- 2.40.0