mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:03:38 +03:00
clang-tidy: enable readability-math-missing-parentheses, adjust code
No functional changes. Also: - md4, md5: drop redundant parentheses from macro values. Closes #20691
This commit is contained in:
parent
29bca12978
commit
65262be0ab
40 changed files with 85 additions and 80 deletions
|
|
@ -618,7 +618,7 @@ UNITTEST ParameterError GetSizeParameter(const char *arg, curl_off_t *out)
|
|||
if(value > ((CURL_OFF_T_MAX - add) / mul))
|
||||
return PARAM_NUMBER_TOO_LARGE;
|
||||
|
||||
*out = value * mul + add;
|
||||
*out = (value * mul) + add;
|
||||
return PARAM_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue