summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-12-20 14:46:47 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-12-20 14:46:47 +0100
commitf44cf7914ffc218a9d4af48dbe28b22f3273b63e (patch)
tree1a697e064e7cf4fec6fc46614c04685d70f93866
parent21a7a96c9030c0ac69a5af3c5bbc70f4b251877a (diff)
downloadcurl-f44cf7914ffc218a9d4af48dbe28b22f3273b63e.tar.gz
ssh: inhibit coverity warning with (void)
CID 1397391 (#1 of 1): Unchecked return value (CHECKED_RETURN)
-rw-r--r--lib/ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 9b014a4ff..5ed036a1e 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -2866,8 +2866,8 @@ static CURLcode ssh_block_statemach(struct connectdata *conn,
if(LIBSSH2_SESSION_BLOCK_OUTBOUND & dir)
fd_write = sock;
/* wait for the socket to become ready */
- Curl_socket_check(fd_read, CURL_SOCKET_BAD, fd_write,
- left>1000?1000:left); /* ignore result */
+ (void)Curl_socket_check(fd_read, CURL_SOCKET_BAD, fd_write,
+ left>1000?1000:left); /* ignore result */
}
#endif