lib/util: Remove wrong return statement in unit test
authorChristof Schmitt <cs@samba.org>
Tue, 18 Aug 2020 16:29:28 +0000 (09:29 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 24 Aug 2020 01:46:30 +0000 (01:46 +0000)
Fixes CID 1466195

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/tests/test_util.c

index 52baf9ae56d8e4ebafb6f07fa9b18655086a8a24..ad21642357d8b7c72e5dff3583c0b5e401eb70b8 100644 (file)
@@ -94,8 +94,6 @@ static int group_teardown(void **state)
        struct test_paths *paths = *state;
        int ret;
 
-       return 0;
-
        ret = rmdir(paths->dir);
        assert_return_code(ret, errno);