diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-10-04 15:14:27 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-10-04 15:14:27 +0200 |
commit | d94717e0990062a3f1318180009a266314b7409e (patch) | |
tree | 1044497d0b85eaef092e066ee32e839097507fc2 /lib/curl_rtmp.c | |
parent | a60825fa96f5e38bf8b591c696c85182c4804790 (diff) | |
download | curl-d94717e0990062a3f1318180009a266314b7409e.tar.gz |
nonblock: call with (void) to show we ignore the return code
Coverity pointed out several of these.
Diffstat (limited to 'lib/curl_rtmp.c')
-rw-r--r-- | lib/curl_rtmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_rtmp.c b/lib/curl_rtmp.c index e0c24b036..3f71f694d 100644 --- a/lib/curl_rtmp.c +++ b/lib/curl_rtmp.c @@ -217,7 +217,7 @@ static CURLcode rtmp_connect(struct connectdata *conn, bool *done) !(r->Link.protocol & RTMP_FEATURE_HTTP)) r->Link.lFlags |= RTMP_LF_BUFX; - curlx_nonblock(r->m_sb.sb_socket, FALSE); + (void)curlx_nonblock(r->m_sb.sb_socket, FALSE); setsockopt(r->m_sb.sb_socket, SOL_SOCKET, SO_RCVTIMEO, (char *)&tv, sizeof(tv)); |