mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix unused-parameter warning in systemd_watchdog_callback
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user