mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:17:28 +03:00
ssh: inhibit coverity warning with (void)
CID 1397391 (#1 of 1): Unchecked return value (CHECKED_RETURN)
This commit is contained in:
parent
21a7a96c90
commit
f44cf7914f
1 changed files with 2 additions and 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue