mirror of
https://github.com/curl/curl.git
synced 2026-07-24 16:07:16 +03:00
multi: remove careful bounds check as coverity says it is not needed
And we all hope that future code changes will not make it necessary again or this will all be blamed on you, coverity! Closes #17784
This commit is contained in:
parent
21ecc7e376
commit
a29133e909
1 changed files with 1 additions and 2 deletions
|
|
@ -370,8 +370,7 @@ static CURLMcode multi_xfers_add(struct Curl_multi *multi,
|
|||
else {
|
||||
/* make it a 64 multiple, since our bitsets frow by that and
|
||||
* small (easy_multi) grows to at least 64 on first resize. */
|
||||
new_size = CURLMIN((((used + min_unused) + 63) / 64) * 64,
|
||||
max_capacity);
|
||||
new_size = (((used + min_unused) + 63) / 64) * 64;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue