aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/signal.c
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-08 09:28:04 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-08 09:28:04 +0200
commita18251e4cd8c95518ac45bcf063480c2800eb204 (patch)
treee04e467db39eb3a2bb728ae8bbd523206a90ae4e /util-src/signal.c
parentbae1d20e54efc3eb98c706a1192321e66d35ccac (diff)
downloadprosody-a18251e4cd8c95518ac45bcf063480c2800eb204.tar.gz
prosody-a18251e4cd8c95518ac45bcf063480c2800eb204.zip
pposix, signal: Ignore unused arguments.
Diffstat (limited to 'util-src/signal.c')
-rw-r--r--util-src/signal.c1
1 files changed, 1 insertions, 0 deletions
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);