git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3828f
)
Remove unused function str_list_match.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 20 Oct 2008 17:14:55 +0000
(19:14 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 20 Oct 2008 17:14:55 +0000
(19:14 +0200)
source4/lib/torture/torture.c
patch
|
blob
|
history
diff --git
a/source4/lib/torture/torture.c
b/source4/lib/torture/torture.c
index 166bb7eb8446caa8ae15b8770ebde94445d30c0a..ba7168f3fe25accd2bb0ca1758889bf94a325a9e 100644
(file)
--- a/
source4/lib/torture/torture.c
+++ b/
source4/lib/torture/torture.c
@@
-235,19
+235,6
@@
void torture_ui_test_start(struct torture_context *context,
context->ui_ops->test_start(context, tcase, test);
}
-int str_list_match(const char *name, char **list)
-{
- int i, ret = 0;
- if (list == NULL)
- return 0;
-
- for (i = 0; list[i]; i++) {
- if (gen_fnmatch(list[i], name) == 0)
- ret++;
- }
- return ret;
-}
-
void torture_ui_test_result(struct torture_context *context,
enum torture_result result,
const char *comment)