mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
basic/parse-util: remove unnecessary parentheses
This commit is contained in:
parent
b961fbd4ee
commit
fbbe6d65b4
@ -662,7 +662,7 @@ int parse_permille_unbounded(const char *p) {
|
||||
r = safe_atoi(n, &v);
|
||||
if (r < 0)
|
||||
return r;
|
||||
if (v > ((INT_MAX - q) / 10))
|
||||
if (v > (INT_MAX - q) / 10)
|
||||
return -ERANGE;
|
||||
|
||||
v = v * 10 + q;
|
||||
|
Loading…
Reference in New Issue
Block a user