aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_help.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-04-20 18:59:23 +0200
committerJelmer Vernooij <jelmer@samba.org>2014-04-20 18:59:23 +0200
commit3e16fb823e4921ef85eac7730794a2c3de184c1a (patch)
treefd1549c9c643490c4aa1f5c035287fd59f0003c9 /tests/check_help.c
parentb4008a52254debf3a2c348c9e4a710d3bb8dc8ec (diff)
Fix compiler warnings in testsuite/.
Diffstat (limited to 'tests/check_help.c')
-rw-r--r--tests/check_help.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check_help.c b/tests/check_help.c
index 5a2f28d9..a6c127ea 100644
--- a/tests/check_help.c
+++ b/tests/check_help.c
@@ -11,7 +11,7 @@ START_TEST(test_help_initfree)
r = help_init(&h, "/dev/null");
fail_if(r == NULL);
fail_if(r != h);
-
+
help_free(&h);
fail_if(h != NULL);
END_TEST
@@ -20,6 +20,7 @@ START_TEST(test_help_nonexistent)
help_t *h, *r;
r = help_init(&h, "/dev/null");
fail_unless(help_get(&h, "nonexistent") == NULL);
+ fail_if(r == NULL);
END_TEST
Suite *help_suite (void)