From: Zbigniew Jędrzejewski-Szmek Date: Mon, 11 Jun 2018 11:47:25 +0000 (+0200) Subject: basic/parse-util: remove unnecessary parentheses X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b42af0fcdf87e33f9e2704638cbf194b6fd341b6;p=elogind.git basic/parse-util: remove unnecessary parentheses --- diff --git a/src/basic/parse-util.c b/src/basic/parse-util.c index 53e030efc..a64d9f5a7 100644 --- a/src/basic/parse-util.c +++ b/src/basic/parse-util.c @@ -667,7 +667,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;