From: Nick Mathewson Date: Sun, 11 Jan 2015 16:19:51 +0000 (-0500) Subject: Fix unused-parameter warning in systemd_watchdog_callback X-Git-Tag: tor-0.2.6.3-alpha~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e009c2da5138bce5e8244658177efbe48c641035;p=thirdparty%2Ftor.git Fix unused-parameter warning in systemd_watchdog_callback --- 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