From 671f4fa7b0afe11fba73449af70cdbbe00b93db9 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 6 Nov 2021 18:32:25 -0700 Subject: [PATCH] nonefunc: squash -Wunused-parameter warnings --- lib/common/emit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/common/emit.c b/lib/common/emit.c index c3d1c6f81..25ef4c275 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -2216,6 +2216,9 @@ static double revfunc (double curlen, double totallen, double initwid) static double nonefunc (double curlen, double totallen, double initwid) { + (void)curlen; + (void)totallen; + return initwid / 2.0; } -- 2.40.0