From e62d9b81926e22f7a1d8a117fd85bb735d3cead2 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 15 Mar 2015 17:17:24 -0400 Subject: Add (void) where we don't care about return value --- src/libsystemd/sd-resolve/sd-resolve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsystemd') diff --git a/src/libsystemd/sd-resolve/sd-resolve.c b/src/libsystemd/sd-resolve/sd-resolve.c index 8aec75aa47..b0dc822591 100644 --- a/src/libsystemd/sd-resolve/sd-resolve.c +++ b/src/libsystemd/sd-resolve/sd-resolve.c @@ -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. */ -- cgit v1.2.3-54-g00ecf