From 77042f28d30580d1844db5dabfe0f76b8cb696fc Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 6 Apr 2022 07:49:12 -0700 Subject: [PATCH] Quartz plugin quartz_loadimage_quartz: squash -Wunused-parameter warning This parameter cannot be removed because this function is used as a callback. --- plugin/quartz/gvloadimage_quartz.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/quartz/gvloadimage_quartz.c b/plugin/quartz/gvloadimage_quartz.c index 71cec5805..6b41abe9e 100644 --- a/plugin/quartz/gvloadimage_quartz.c +++ b/plugin/quartz/gvloadimage_quartz.c @@ -157,6 +157,8 @@ static CGImageRef quartz_loadimage(GVJ_t * job, usershape_t *us) static void quartz_loadimage_quartz(GVJ_t * job, usershape_t *us, boxf b, bool filled) { + (void)filled; + /* get the image from usershape details, then blit it to the context */ CGImageRef image = quartz_loadimage(job, us); if (image) -- 2.50.1