Silence warning over ignored return value (CID 187932)
- We deliberately ignore the return value.
Change-Id: If467911b019e7336cf9dc6d4c95c2cd53a5af33f
Signed-off-by: Chris Luke <chrisy@flirble.org>
diff --git a/src/vlib/unix/cli.c b/src/vlib/unix/cli.c
index 42c1374..2fe33cc 100644
--- a/src/vlib/unix/cli.c
+++ b/src/vlib/unix/cli.c
@@ -2772,8 +2772,8 @@
/* Disable Nagle, ignore any errors doing so eg on PF_LOCAL socket */
one = 1;
- setsockopt (client.fd, IPPROTO_TCP, TCP_NODELAY,
- (void *) &one, sizeof (one));
+ (void) setsockopt (client.fd, IPPROTO_TCP, TCP_NODELAY,
+ (void *) &one, sizeof (one));
client_name = (char *) format (0, "%U%c", format_sockaddr, &client.peer, 0);