From a18251e4cd8c95518ac45bcf063480c2800eb204 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 8 Aug 2018 09:28:04 +0200 Subject: pposix, signal: Ignore unused arguments. --- util-src/signal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util-src/signal.c') diff --git a/util-src/signal.c b/util-src/signal.c index 9bbdb37e..c696a3a2 100644 --- a/util-src/signal.c +++ b/util-src/signal.c @@ -168,6 +168,7 @@ int signals[MAX_PENDING_SIGNALS]; int nsig = 0; static void sighook(lua_State *L, lua_Debug *ar) { + (void)ar; /* restore the old hook */ lua_sethook(L, Hsig, Hmask, Hcount); -- cgit v1.2.3