summaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/cli.c
diff options
context:
space:
mode:
authorChris Luke <chrisy@flirble.org>2018-09-06 15:37:28 -0400
committerNeale Ranns <nranns@cisco.com>2018-09-07 06:56:15 +0000
commitc5cb6380e187e67444cb489f93eb17c4541819ef (patch)
tree07e8d27d0f52e2e621f5fcd8fea5a5d01cbb907b /src/vlib/unix/cli.c
parent70fda4c443be1c7893e88c68f36b57f8168f4e54 (diff)
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>
Diffstat (limited to 'src/vlib/unix/cli.c')
-rw-r--r--src/vlib/unix/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/unix/cli.c b/src/vlib/unix/cli.c
index 42c13740e20..2fe33cc54fb 100644
--- a/src/vlib/unix/cli.c
+++ b/src/vlib/unix/cli.c
@@ -2772,8 +2772,8 @@ unix_cli_listen_read_ready (clib_file_t * uf)
/* 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);