git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40afb0b
)
lib/util: Remove wrong return statement in unit test
author
Christof Schmitt
<cs@samba.org>
Tue, 18 Aug 2020 16:29:28 +0000
(09:29 -0700)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/lib/util/tests/test_util.c
b/lib/util/tests/test_util.c
index 52baf9ae56d8e4ebafb6f07fa9b18655086a8a24..ad21642357d8b7c72e5dff3583c0b5e401eb70b8 100644
(file)
--- 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);