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

plugin/quartz/gvrender_quartz.c

index 4521b596b6ed565b1fe18fc4c7e413a63e29d717..ee5b4c70e3e403579c59005476c0a3ebbad43d1d 100644 (file)
@@ -269,6 +269,10 @@ static void quartzgen_end_page(GVJ_t * job)
 static void quartzgen_begin_anchor(GVJ_t * job, char *url, char *tooltip,
                                   char *target, char *id)
 {
+    (void)tooltip;
+    (void)target;
+    (void)id;
+
     pointf *url_map = job->obj->url_map_p;
     if (url && url_map) {
        /* set up the hyperlink to the given url */