summaryrefslogtreecommitdiff
path: root/source4/lib/torture/torture.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 19:14:55 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 19:14:55 +0200
commit4b65445582c877aa90a51b97112d0047f51d37c7 (patch)
tree157f3230eb77b3b15322d3c3e50da97a5d7cb116 /source4/lib/torture/torture.c
parentdc3828f06c8c77ca9fb683528096f2d412028b12 (diff)
downloadsamba-4b65445582c877aa90a51b97112d0047f51d37c7.tar.gz
samba-4b65445582c877aa90a51b97112d0047f51d37c7.tar.bz2
samba-4b65445582c877aa90a51b97112d0047f51d37c7.zip
Remove unused function str_list_match.
Diffstat (limited to 'source4/lib/torture/torture.c')
-rw-r--r--source4/lib/torture/torture.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source4/lib/torture/torture.c b/source4/lib/torture/torture.c
index 166bb7eb84..ba7168f3fe 100644
--- 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)