]> granicus.if.org Git - graphviz/commitdiff
squash -Wunused-parameter warning in core_loadimage_tk
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 15 May 2021 00:36:15 +0000 (17:36 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 27 May 2021 15:02:39 +0000 (08:02 -0700)
plugin/core/gvloadimage_core.c

index 7520476c81c509dbf4ad4b7a6ac6a177c2c7a1b1..c52a77589d9d8b8bc4956183d82e01f722226c8c 100644 (file)
@@ -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",