From: Chris Luke Date: Thu, 6 Sep 2018 19:37:28 +0000 (-0400) Subject: Silence warning over ignored return value (CID 187932) X-Git-Tag: v18.10-rc1~258 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=c5cb6380e187e67444cb489f93eb17c4541819ef;hp=70fda4c443be1c7893e88c68f36b57f8168f4e54;p=vpp.git Silence warning over ignored return value (CID 187932) - We deliberately ignore the return value. Change-Id: If467911b019e7336cf9dc6d4c95c2cd53a5af33f Signed-off-by: Chris Luke --- 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);