summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-07-10 13:42:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-07-10 13:42:51 -0700
commit0c6435a4d6a45d5947ed4f3a1f63172cdca00d36 (patch)
tree75007f01be703ddbc08de0df1cb48451263dbba2 /t/helper
parentMerge branch 'ab/sha1dc' (diff)
parentwildmatch: remove unused wildopts parameter (diff)
downloadtgif-0c6435a4d6a45d5947ed4f3a1f63172cdca00d36.tar.xz
Merge branch 'ab/wildmatch'
Minor code cleanup. * ab/wildmatch: wildmatch: remove unused wildopts parameter
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-wildmatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/helper/test-wildmatch.c b/t/helper/test-wildmatch.c
index 52be876fed..921d7b3e7e 100644
--- a/t/helper/test-wildmatch.c
+++ b/t/helper/test-wildmatch.c
@@ -11,11 +11,11 @@ int cmd_main(int argc, const char **argv)
argv[i] += 3;
}
if (!strcmp(argv[1], "wildmatch"))
- return !!wildmatch(argv[3], argv[2], WM_PATHNAME, NULL);
+ return !!wildmatch(argv[3], argv[2], WM_PATHNAME);
else if (!strcmp(argv[1], "iwildmatch"))
- return !!wildmatch(argv[3], argv[2], WM_PATHNAME | WM_CASEFOLD, NULL);
+ return !!wildmatch(argv[3], argv[2], WM_PATHNAME | WM_CASEFOLD);
else if (!strcmp(argv[1], "pathmatch"))
- return !!wildmatch(argv[3], argv[2], 0, NULL);
+ return !!wildmatch(argv[3], argv[2], 0);
else
return 1;
}