From: Jelmer Vernooij Date: Mon, 20 Oct 2008 17:14:55 +0000 (+0200) Subject: Remove unused function str_list_match. X-Git-Tag: samba-4.0.0alpha6~778^2~5^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b65445582c877aa90a51b97112d0047f51d37c7;p=thirdparty%2Fsamba.git Remove unused function str_list_match. --- diff --git a/source4/lib/torture/torture.c b/source4/lib/torture/torture.c index 166bb7eb844..ba7168f3fe2 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)