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
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commitec8402b80170cdfdaab0698a9eff00a6a9c357ed (patch)
tree994fd00f51d3540a958c6f48aa7eb25d7ee81088 /src/test/test-dlopen.c
parent8bb71d26a90460ed8e138140c16a71e0f560e0cd (diff)
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 151d2d72b..febfc60e0 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;