From 1e0363adbef581daceda640aa20dda8214ee6975 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 6 Apr 2022 17:35:39 -0700 Subject: [PATCH] Quartz plugin quartzgen_bezier: squash -Wunused-parameter warnings These parameters cannot be removed because this function is used as a callback. --- plugin/quartz/gvrender_quartz.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/quartz/gvrender_quartz.c b/plugin/quartz/gvrender_quartz.c index 91c573476..9a8e19ff7 100644 --- a/plugin/quartz/gvrender_quartz.c +++ b/plugin/quartz/gvrender_quartz.c @@ -410,6 +410,9 @@ static void quartzgen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) { + (void)arrow_at_start; + (void)arrow_at_end; + /* convert bezier into the current path */ CGContextRef context = job->context; CGContextMoveToPoint(context, A[0].x, A[0].y); -- 2.40.0