wildmatch: remove unused wildopts parameter
[gitweb.git] / builtin / replace.c
index c921bc976f2299adc39277a21a74abbcc0c100f7..89262df5a19c3dcf9b39bb7f1be8c1df7e9305f0 100644 (file)
@@ -40,7 +40,7 @@ static int show_reference(const char *refname, const struct object_id *oid,
 {
        struct show_data *data = cb_data;
 
-       if (!wildmatch(data->pattern, refname, 0, NULL)) {
+       if (!wildmatch(data->pattern, refname, 0)) {
                if (data->format == REPLACE_FORMAT_SHORT)
                        printf("%s\n", refname);
                else if (data->format == REPLACE_FORMAT_MEDIUM)