aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/pposix.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/pposix.c
parentbae1d20e54efc3eb98c706a1192321e66d35ccac (diff)
downloadprosody-a18251e4cd8c95518ac45bcf063480c2800eb204.tar.gz
prosody-a18251e4cd8c95518ac45bcf063480c2800eb204.zip
pposix, signal: Ignore unused arguments.
Diffstat (limited to 'util-src/pposix.c')
-rw-r--r--util-src/pposix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c
index 656bda07..435af6f0 100644
--- a/util-src/pposix.c
+++ b/util-src/pposix.c
@@ -237,6 +237,7 @@ int lc_syslog_log(lua_State *L) {
}
int lc_syslog_close(lua_State *L) {
+ (void)L;
closelog();
if(syslog_ident) {
@@ -649,6 +650,7 @@ int lc_getrlimit(lua_State *L) {
}
int lc_abort(lua_State *L) {
+ (void)L;
abort();
return 0;
}