Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
70fda4c
)
Silence warning over ignored return value (CID 187932)
06/14706/2
author
Chris Luke
<chrisy@flirble.org>
Thu, 6 Sep 2018 19:37:28 +0000
(15:37 -0400)
committer
Neale Ranns
<nranns@cisco.com>
Fri, 7 Sep 2018 06:56:15 +0000
(06:56 +0000)
- We deliberately ignore the return value.
Change-Id: If467911b019e7336cf9dc6d4c95c2cd53a5af33f
Signed-off-by: Chris Luke <chrisy@flirble.org>
src/vlib/unix/cli.c
patch
|
blob
|
history
diff --git
a/src/vlib/unix/cli.c
b/src/vlib/unix/cli.c
index
42c1374
..
2fe33cc
100644
(file)
--- 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);