Merge branch 'ab/wildmatch'
Minor code cleanup. * ab/wildmatch: wildmatch: remove unused wildopts parameter
This commit is contained in:
@ -130,7 +130,7 @@ static int subpath_matches(const char *path, const char *filter)
|
||||
const char *subpath = path;
|
||||
|
||||
while (subpath) {
|
||||
if (!wildmatch(filter, subpath, 0, NULL))
|
||||
if (!wildmatch(filter, subpath, 0))
|
||||
return subpath - path;
|
||||
subpath = strchr(subpath, '/');
|
||||
if (subpath)
|
||||
|
Reference in New Issue
Block a user