]> granicus.if.org Git - graphviz/commitdiff
gvpr: squash -Wunused-parameter warnings in 'gvexitf'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Jul 2022 20:50:47 +0000 (13:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 4 Jul 2022 22:19:12 +0000 (15:19 -0700)
This function needs to conform to the `exitf` type signature, so these
parameters cannot be removed.

lib/gvpr/gvpr.c

index b65f566af65e636f0686fd11fa08ead8853be678..e5fcc25e68974ccae4cae2a9c3ae4926af47719c 100644 (file)
@@ -876,6 +876,9 @@ static jmp_buf jbuf;
 static void 
 gvexitf (Expr_t *handle, Exdisc_t *discipline, int v)
 {
+    (void)handle;
+    (void)discipline;
+
     longjmp (jbuf, v);
 }