diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-12-20 14:46:47 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-12-20 14:46:47 +0100 |
commit | f44cf7914ffc218a9d4af48dbe28b22f3273b63e (patch) | |
tree | 1a697e064e7cf4fec6fc46614c04685d70f93866 /lib/ssh.c | |
parent | 21a7a96c9030c0ac69a5af3c5bbc70f4b251877a (diff) | |
download | curl-f44cf7914ffc218a9d4af48dbe28b22f3273b63e.tar.gz |
ssh: inhibit coverity warning with (void)
CID 1397391 (#1 of 1): Unchecked return value (CHECKED_RETURN)
Diffstat (limited to 'lib/ssh.c')
-rw-r--r-- | lib/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |