tree-wide: do not wrap assert_se in extra parentheses

We were inconsitently using them in some cases, but in majority not.
Using assignment in assert_se is very common, not an exception like in
'if', so let's drop the extra parens everywhere.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-05-14 17:22:22 +02:00
parent 6978efcffb
commit dcd6361ea1
8 changed files with 16 additions and 15 deletions
+2 -2
View File
@@ -85,10 +85,10 @@ static void test_unhexmem_one(const char *s, size_t l, int retval) {
if (retval == 0) {
char *answer;
if (l == (size_t) - 1)
if (l == (size_t) -1)
l = strlen(s);
assert_se((hex = hexmem(mem, len)));
assert_se(hex = hexmem(mem, len));
answer = strndupa(s, l);
assert_se(streq(delete_chars(answer, WHITESPACE), hex));
}