chiark / gitweb /
sd-event: voidify more things
authorLennart Poettering <lennart@poettering.net>
Fri, 25 May 2018 15:09:26 +0000 (17:09 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
src/libelogind/sd-event/sd-event.c

index 3ebd9e75dfa14c54901dd9bec40d17d7dd9f8d65..fd8ba14ce1c49058e962a3c9baf7b3413ca919ee 100644 (file)
@@ -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;
         }