mirror of
https://github.com/curl/curl.git
synced 2026-07-24 18:57:18 +03:00
multi_ev: remove redundant check from mev_get_last_pollset
Pointed out by CodeSonar Closes #16894
This commit is contained in:
parent
1f844dd3f0
commit
50c1e62fa4
1 changed files with 1 additions and 2 deletions
|
|
@ -449,8 +449,7 @@ mev_get_last_pollset(struct Curl_multi *multi,
|
|||
if(conn)
|
||||
return Curl_hash_offt_get(&multi->ev.conn_pollsets,
|
||||
conn->connection_id);
|
||||
else if(data)
|
||||
return Curl_hash_offt_get(&multi->ev.xfer_pollsets, data->mid);
|
||||
return Curl_hash_offt_get(&multi->ev.xfer_pollsets, data->mid);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue