From f44cf7914ffc218a9d4af48dbe28b22f3273b63e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 20 Dec 2016 14:46:47 +0100 Subject: [PATCH] ssh: inhibit coverity warning with (void) CID 1397391 (#1 of 1): Unchecked return value (CHECKED_RETURN) --- lib/ssh.c | 4 ++-- 1 file 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