diff --git a/lib/url.c b/lib/url.c index bea5a3e0c28e310a1cd33635a670e5da3e7c6a66..c5379c9852a8e57c7a078cb19e13eafaf6c0f49a 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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;