]> granicus.if.org Git - graphviz/commitdiff
gvpr: squash -Wunused-parameter warnings in 'convert'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 16 May 2022 04:38:25 +0000 (21:38 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 24 May 2022 03:23:52 +0000 (20:23 -0700)
These parameters cannot be removed because this function is used as a callback.

lib/gvpr/compile.c

index ff77a0870369cd32435311000d44ada6be864a31..5982958c21a96dd030d65d20a093560d37b3f3f7 100644 (file)
@@ -2124,6 +2124,10 @@ static int
 convert(Expr_t * prog, Exnode_t * x, int type,
        Exid_t * xref, int arg, Exdisc_t * disc)
 {
+    (void)prog;
+    (void)xref;
+    (void)disc;
+
     Agobj_t *objp;
     int ret = -1;