From 220f7c873edf2ae627fde2d69b28063f92693a5b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 3 Apr 2022 12:57:24 -0700 Subject: [PATCH] GDK plugin gdk_loadimage_cairo: squash -Wunused-parameter warning This parameter cannot be removed because this function is used as a callback. --- plugin/gdk/gvloadimage_gdk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/gdk/gvloadimage_gdk.c b/plugin/gdk/gvloadimage_gdk.c index 7a63230f9..b6356b919 100644 --- a/plugin/gdk/gvloadimage_gdk.c +++ b/plugin/gdk/gvloadimage_gdk.c @@ -189,6 +189,8 @@ static cairo_surface_t* gdk_loadimage(GVJ_t * job, usershape_t *us) static void gdk_loadimage_cairo(GVJ_t * job, usershape_t *us, boxf b, bool filled) { + (void)filled; + cairo_t *cr = (cairo_t *) job->context; /* target context */ #ifndef HAVE_CAIRO_SURFACE_SET_MIME_DATA GdkPixbuf *image; -- 2.40.0