[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix unused-parameter warning in systemd_watchdog_callback
commit e009c2da5138bce5e8244658177efbe48c641035
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Sun Jan 11 11:19:51 2015 -0500
Fix unused-parameter warning in systemd_watchdog_callback
---
src/or/main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/or/main.c b/src/or/main.c
index bf4e6db..b691a92 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1776,6 +1776,8 @@ static periodic_timer_t *systemd_watchdog_timer = NULL;
static void
systemd_watchdog_callback(periodic_timer_t *timer, void *arg)
{
+ (void)timer;
+ (void)arg;
sd_notify(0, "WATCHDOG=1");
}
#endif
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits