diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-12 09:48:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-12 09:48:27 +0000 |
commit | d57eed6f22f7eb202a942895d968f4af87b7cae0 (patch) | |
tree | b30c23a0ed2b3e8f3a6bfcb6d3cac186b1d4d633 /lib | |
parent | a3d39efa3b0ea9f1887449db744f5b77ea0b4787 (diff) |
No longer receive the return code in ConnectionKillOne() that wasn't dealt
with anyway and thus caused picky compiler to warn.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1491,7 +1491,6 @@ ConnectionKillOne(struct SessionHandle *data) int highscore=-1; int connindex=-1; int score; - CURLcode result; struct timeval now; now = Curl_tvnow(); @@ -1531,7 +1530,7 @@ ConnectionKillOne(struct SessionHandle *data) if(connindex >= 0) { /* the winner gets the honour of being disconnected */ - result = Curl_disconnect(data->state.connects[connindex]); + (void) Curl_disconnect(data->state.connects[connindex]); /* clean the array entry */ data->state.connects[connindex] = NULL; |