]> git.ipfire.org Git - thirdparty/git.git/blobdiff - apply.c
wildmatch: remove unused wildopts parameter
[thirdparty/git.git] / apply.c
diff --git a/apply.c b/apply.c
index 679ed7732d2385c4d7704f60335514b2b5f75c39..bb411b5810d9550c16689bf77101e0f40c49ac6e 100644 (file)
--- a/apply.c
+++ b/apply.c
@@ -2077,7 +2077,7 @@ static int use_patch(struct apply_state *state, struct patch *p)
        /* See if it matches any of exclude/include rule */
        for (i = 0; i < state->limit_by_name.nr; i++) {
                struct string_list_item *it = &state->limit_by_name.items[i];
-               if (!wildmatch(it->string, pathname, 0, NULL))
+               if (!wildmatch(it->string, pathname, 0))
                        return (it->util != NULL);
        }