chiark / gitweb /
Add (void) where we don't care about return value
[elogind.git] / src / libsystemd / sd-resolve / sd-resolve.c
index 8aec75aa47eaab996ec0c7ab6a828fbc716f4892..b0dc82259128566b1690daa474c952813833cc16 100644 (file)
@@ -653,7 +653,7 @@ static void resolve_free(sd_resolve *resolve) {
 
                 /* Send one termination packet for each worker */
                 for (i = 0; i < resolve->n_valid_workers; i++)
-                        send(resolve->fds[REQUEST_SEND_FD], &req, req.length, MSG_NOSIGNAL);
+                        (void) send(resolve->fds[REQUEST_SEND_FD], &req, req.length, MSG_NOSIGNAL);
         }
 
         /* Now terminate them and wait until they are gone. */