From: Lennart Poettering Date: Fri, 25 May 2018 15:09:26 +0000 (+0200) Subject: sd-event: voidify more things X-Git-Tag: v239~137^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc59d290541f03118b10539211faa20ccb158c0d;p=thirdparty%2Fsystemd.git sd-event: voidify more things --- diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index 3ebd9e75dfa..fd8ba14ce1c 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -2342,7 +2342,7 @@ static int source_dispatch(sd_event_source *s) { /* Now, reap the PID for good. */ if (zombie) - waitid(P_PID, s->child.pid, &s->child.siginfo, WNOHANG|WEXITED); + (void) waitid(P_PID, s->child.pid, &s->child.siginfo, WNOHANG|WEXITED); break; }