]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix unused-parameter warning in systemd_watchdog_callback
authorNick Mathewson <nickm@torproject.org>
Sun, 11 Jan 2015 16:19:51 +0000 (11:19 -0500)
committerNick Mathewson <nickm@torproject.org>
Sun, 11 Jan 2015 16:19:51 +0000 (11:19 -0500)
src/or/main.c

index bf4e6db7c1877a1d0462143b98a9e4360639d5d2..b691a92df2311ec976ed46825d8721a4afc9715e 100644 (file)
@@ -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