diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-11 13:47:25 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-13 10:43:38 +0200 |
commit | fbbe6d65b49454c84fb538dcd7cce6099d678007 (patch) | |
tree | 3434bb4af386bc8198343dea7e24d2346aa2e4f2 /src/basic/parse-util.c | |
parent | b961fbd4ee52343e91f92b83f67122019f3e186c (diff) | |
download | systemd-fbbe6d65b49454c84fb538dcd7cce6099d678007.tar.gz systemd-fbbe6d65b49454c84fb538dcd7cce6099d678007.tar.bz2 systemd-fbbe6d65b49454c84fb538dcd7cce6099d678007.zip |
basic/parse-util: remove unnecessary parentheses
Diffstat (limited to 'src/basic/parse-util.c')
-rw-r--r-- | src/basic/parse-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/parse-util.c b/src/basic/parse-util.c index b25bc6e215..33698b06da 100644 --- a/src/basic/parse-util.c +++ b/src/basic/parse-util.c @@ -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; |