From: Christof Schmitt Date: Tue, 18 Aug 2020 16:29:28 +0000 (-0700) Subject: lib/util: Remove wrong return statement in unit test X-Git-Tag: talloc-2.3.2~736 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c057586fc85e84a51c9611714df454b188da2da5;p=thirdparty%2Fsamba.git lib/util: Remove wrong return statement in unit test Fixes CID 1466195 Signed-off-by: Christof Schmitt Reviewed-by: Andrew Bartlett --- 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);