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/ftp.c | |
parent | a60825fa96f5e38bf8b591c696c85182c4804790 (diff) |
nonblock: call with (void) to show we ignore the return code
Coverity pointed out several of these.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -346,7 +346,7 @@ static CURLcode AcceptServerConnect(struct connectdata *conn) infof(data, "Connection accepted from server\n"); conn->sock[SECONDARYSOCKET] = s; - curlx_nonblock(s, TRUE); /* enable non-blocking */ + (void)curlx_nonblock(s, TRUE); /* enable non-blocking */ conn->sock_accepted[SECONDARYSOCKET] = TRUE; if(data->set.fsockopt) { |