chiark / gitweb /
sd-event: voidify more things
[elogind.git] / 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;
         }