]> granicus.if.org Git - graphviz/commitdiff
gvpr: squash -Wunused-parameter warnings in 'binary'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 16 May 2022 04:36:53 +0000 (21:36 -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 4e962dd3c56b71c8455dc1c2114b8666e23f9ce1..ff77a0870369cd32435311000d44ada6be864a31 100644 (file)
@@ -1867,6 +1867,9 @@ static int
 binary(Expr_t * pg, Exnode_t * l, Exnode_t * ex, Exnode_t * r, int arg,
        Exdisc_t * disc)
 {
+    (void)pg;
+    (void)disc;
+
     Agobj_t *lobjp;
     Agobj_t *robjp;
     int ret = -1;