aboutsummaryrefslogtreecommitdiffstats
path: root/test-variables.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-17 17:34:06 +0200
committerMattias Andrée <m@maandree.se>2026-05-17 17:34:06 +0200
commit6f29755ab0f86f29c04a624f439ddefb37a5ba19 (patch)
tree18277d6b610a5d4bd4bdce8cb7c2923d103c3088 /test-variables.c
parentfix doc (diff)
downloadlibenv-6f29755ab0f86f29c04a624f439ddefb37a5ba19.tar.gz
libenv-6f29755ab0f86f29c04a624f439ddefb37a5ba19.tar.bz2
libenv-6f29755ab0f86f29c04a624f439ddefb37a5ba19.tar.xz
Silence warnings
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'test-variables.c')
-rw-r--r--test-variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-variables.c b/test-variables.c
index 0049aad..c8c3ea7 100644
--- a/test-variables.c
+++ b/test-variables.c
@@ -46,7 +46,7 @@ main(void)
size_t count1 = 0, count2 = 1, count;
size_t i, j;
- assert(vars = libenv_get_complete_list(NULL, NULL));
+ assert((vars = libenv_get_complete_list(NULL, NULL)));
assert(vars == libenv_get_complete_list(&nclasswords1, NULL));
assert(vars == libenv_get_complete_list(NULL, &count1));
assert(vars == libenv_get_complete_list(&nclasswords2, &count2));