From: Matthew Fernandez Date: Thu, 7 Apr 2022 00:35:39 +0000 (-0700) Subject: Quartz plugin quartzgen_bezier: squash -Wunused-parameter warnings X-Git-Tag: 4.0.0~120^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e0363adbef581daceda640aa20dda8214ee6975;p=graphviz Quartz plugin quartzgen_bezier: squash -Wunused-parameter warnings These parameters cannot be removed because this function is used as a callback. --- 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);