resolve: voidify sd_event_add_signal() and sd_event_set_watchdog()

This commit is contained in:
Yu Watanabe 2018-07-20 11:29:59 +09:00
parent 05e2162773
commit 1ae1729214
1 changed files with 3 additions and 3 deletions

View File

@ -594,10 +594,10 @@ int manager_new(Manager **ret) {
if (r < 0)
return r;
sd_event_add_signal(m->event, NULL, SIGTERM, NULL, NULL);
sd_event_add_signal(m->event, NULL, SIGINT, NULL, NULL);
(void) sd_event_add_signal(m->event, NULL, SIGTERM, NULL, NULL);
(void) sd_event_add_signal(m->event, NULL, SIGINT, NULL, NULL);
sd_event_set_watchdog(m->event, true);
(void) sd_event_set_watchdog(m->event, true);
r = manager_watch_hostname(m);
if (r < 0)