diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-15 17:17:24 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-15 17:26:58 -0400 |
commit | e62d9b81926e22f7a1d8a117fd85bb735d3cead2 (patch) | |
tree | 3547e4ab46ef4da1fa8be202d664a514bcec3e63 /src/libsystemd/sd-resolve | |
parent | cc02a7b3304975e39ad5863983b16ef149b7f9e9 (diff) |
Add (void) where we don't care about return value
Diffstat (limited to 'src/libsystemd/sd-resolve')
-rw-r--r-- | src/libsystemd/sd-resolve/sd-resolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |