diff options
author | Christof Schmitt <cs@samba.org> | 2020-08-18 09:29:28 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-08-24 01:46:30 +0000 |
commit | c057586fc85e84a51c9611714df454b188da2da5 (patch) | |
tree | cced2ae33496b264137d94c97a9c5d67252aecf8 /lib/util | |
parent | 40afb0bbcdd5813235bf0697c091c8cac755f587 (diff) | |
download | samba-c057586fc85e84a51c9611714df454b188da2da5.tar.gz |
lib/util: Remove wrong return statement in unit test
Fixes CID 1466195
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/tests/test_util.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/util/tests/test_util.c b/lib/util/tests/test_util.c index 52baf9ae56d..ad21642357d 100644 --- a/lib/util/tests/test_util.c +++ b/lib/util/tests/test_util.c @@ -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); |