mirror of
https://github.com/curl/curl.git
synced 2026-05-17 16:36:21 +03:00
multi_ev: remove redundant check for data
Pointed out by CodeSonar Closes #17226
This commit is contained in:
parent
1fc5226ce5
commit
e383ba53eb
1 changed files with 1 additions and 2 deletions
|
|
@ -478,8 +478,7 @@ mev_get_last_pollset(struct Curl_easy *data,
|
|||
if(data) {
|
||||
if(conn)
|
||||
return Curl_conn_meta_get(conn, CURL_META_MEV_POLLSET);
|
||||
else if(data)
|
||||
return Curl_meta_get(data, CURL_META_MEV_POLLSET);
|
||||
return Curl_meta_get(data, CURL_META_MEV_POLLSET);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue