From: Matthew Fernandez Date: Sat, 15 May 2021 00:36:15 +0000 (-0700) Subject: squash -Wunused-parameter warning in core_loadimage_tk X-Git-Tag: 2.47.3~30^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6c3a430205e3a1246ed8fc0cf8505bd2b4aaddf;p=graphviz squash -Wunused-parameter warning in core_loadimage_tk --- diff --git a/plugin/core/gvloadimage_core.c b/plugin/core/gvloadimage_core.c index 7520476c8..c52a77589 100644 --- a/plugin/core/gvloadimage_core.c +++ b/plugin/core/gvloadimage_core.c @@ -255,6 +255,8 @@ static void core_loadimage_vml(GVJ_t * job, usershape_t *us, boxf b, boolean fil static void core_loadimage_tk(GVJ_t * job, usershape_t *us, boxf b, boolean filled) { + (void)filled; + gvprintf (job, "image create photo \"photo_%s\" -file \"%s\"\n", us->name, us->name); gvprintf (job, "$c create image %.2f %.2f -image \"photo_%s\"\n",