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
+1 -1
View File
@@ -918,7 +918,7 @@ int systemd_installation_has_version(const char *root, unsigned minimal_version)
if (r < 0)
return r;
assert_se((c = endswith(path, "*.so")));
assert_se(c = endswith(path, "*.so"));
*c = '\0'; /* truncate the glob part */
STRV_FOREACH(name, names) {