From: Lennart Poettering Date: Tue, 26 May 2020 12:32:03 +0000 (+0200) Subject: core: voidify one function return X-Git-Tag: v246-rc1~269^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8aa4b5b867a246acdffb1b11321647a487f27da;p=thirdparty%2Fsystemd.git core: voidify one function return --- diff --git a/src/core/unit.c b/src/core/unit.c index d55cbea68ae..b287c77117c 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -4971,11 +4971,11 @@ int unit_kill_context( if (!pid_set) return -ENOMEM; - cg_kill_recursive(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, - SIGHUP, - CGROUP_IGNORE_SELF, - pid_set, - NULL, NULL); + (void) cg_kill_recursive(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, + SIGHUP, + CGROUP_IGNORE_SELF, + pid_set, + NULL, NULL); } } }