From 71b24ef8e851a16611738d5d200c48215916d8a4 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 3 Apr 2022 13:07:00 -0700 Subject: [PATCH] Ghostscript plugin gvloadimage_gs_cairo: squash -Wunused-parameter warning This parameter cannot be removed because this function is used as a callback. --- plugin/gs/gvloadimage_gs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/gs/gvloadimage_gs.c b/plugin/gs/gvloadimage_gs.c index b19d4aa5c..e909c6f32 100644 --- a/plugin/gs/gvloadimage_gs.c +++ b/plugin/gs/gvloadimage_gs.c @@ -224,6 +224,8 @@ static cairo_pattern_t* gvloadimage_gs_load(GVJ_t * job, usershape_t *us) static void gvloadimage_gs_cairo(GVJ_t * job, usershape_t *us, boxf b, bool filled) { + (void)filled; + cairo_t *cr = job->context; // target context cairo_pattern_t *pattern = gvloadimage_gs_load(job, us); -- 2.40.0