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

index f281a99bac6f935de24055dec64381ac13c44f6d..73e6b8fa5881adefeb7ac0b3a1792e1d2e9e6b69 100644 (file)
@@ -72,6 +72,8 @@ static void core_loadimage_svg(GVJ_t * job, usershape_t *us, boxf b, boolean fil
 
 static void core_loadimage_fig(GVJ_t * job, usershape_t *us, boxf bf, boolean filled)
 {
+    (void)filled;
+
     int object_code = 2;        /* always 2 for polyline */
     int sub_type = 5;           /* always 5 for image */
     int line_style = 0;                /* solid, dotted, dashed */