From d94717e0990062a3f1318180009a266314b7409e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 4 Oct 2014 15:14:27 +0200 Subject: nonblock: call with (void) to show we ignore the return code Coverity pointed out several of these. --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftp.c') diff --git a/lib/ftp.c b/lib/ftp.c index 715afc2f2..d72575feb 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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) { -- cgit v1.2.3