summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-11 11:19:51 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-11 11:19:51 -0500
commite009c2da5138bce5e8244658177efbe48c641035 (patch)
treed35a069c04600cb66052354b9a7561ad226078b9 /src/or/main.c
parent8db15960d1ee9fbd8b03436ad850f36c43a38007 (diff)
downloadtor-e009c2da5138bce5e8244658177efbe48c641035.tar.gz
tor-e009c2da5138bce5e8244658177efbe48c641035.zip
Fix unused-parameter warning in systemd_watchdog_callback
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index bf4e6db7c1..b691a92df2 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