From: Matthew Fernandez Date: Sat, 2 Jul 2022 20:50:47 +0000 (-0700) Subject: gvpr: squash -Wunused-parameter warnings in 'gvexitf' X-Git-Tag: 5.0.0~5^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7afbf4139038cd4e2064c2d877c0bdb4feffb084;p=graphviz gvpr: squash -Wunused-parameter warnings in 'gvexitf' This function needs to conform to the `exitf` type signature, so these parameters cannot be removed. --- diff --git a/lib/gvpr/gvpr.c b/lib/gvpr/gvpr.c index b65f566af..e5fcc25e6 100644 --- a/lib/gvpr/gvpr.c +++ b/lib/gvpr/gvpr.c @@ -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); }