summaryrefslogtreecommitdiff
path: root/src/test/test-dlopen.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-14 09:12:12 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-14 17:22:22 +0200
commitdcd6361ea1dfaa6810b480e0bc53674e5b2c822d (patch)
tree8f05ef56358b25789dd2e97002732efa78de10cf /src/test/test-dlopen.c
parent6978efcffb1aaab67444afb9f0369582ec88996a (diff)
downloadsystemd-dcd6361ea1dfaa6810b480e0bc53674e5b2c822d.tar.gz
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.
Diffstat (limited to 'src/test/test-dlopen.c')
-rw-r--r--src/test/test-dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-dlopen.c b/src/test/test-dlopen.c
index 151d2d72b2..febfc60e00 100644
--- a/src/test/test-dlopen.c
+++ b/src/test/test-dlopen.c
@@ -13,7 +13,7 @@
int main(int argc, char **argv) {
void *handle;
- assert_se((handle = dlopen(argv[1], RTLD_NOW)));
+ assert_se(handle = dlopen(argv[1], RTLD_NOW));
assert_se(dlclose(handle) == 0);
return EXIT_SUCCESS;