]> granicus.if.org Git - graphviz/commitdiff
Quartz plugin quartz_loadimage_quartz: squash -Wunused-parameter warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 6 Apr 2022 14:49:12 +0000 (07:49 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 10 Apr 2022 15:31:25 +0000 (08:31 -0700)
This parameter cannot be removed because this function is used as a callback.

plugin/quartz/gvloadimage_quartz.c

index 71cec5805fabbd71a081e08857c527cd6fb2823d..6b41abe9e7f3a47939b0faca8d8f3236811be207 100644 (file)
@@ -157,6 +157,8 @@ static CGImageRef quartz_loadimage(GVJ_t * job, usershape_t *us)
 
 static void quartz_loadimage_quartz(GVJ_t * job, usershape_t *us, boxf b, bool filled)
 {
+       (void)filled;
+
        /* get the image from usershape details, then blit it to the context */
        CGImageRef image = quartz_loadimage(job, us);
        if (image)