wildcard_cmp.c: Remove leftovers
These statements had no effect since it was always executed when n == 0.
This commit is contained in:
parent
6e5c001c28
commit
0d7ead4638
|
@ -37,15 +37,11 @@ int wildcard_cmp(const char *s, const char *p, const bool casecmp)
|
|||
if (!cmp(wca, sa))
|
||||
{
|
||||
p = wc + 1;
|
||||
s += n;
|
||||
}
|
||||
else if (next == '*')
|
||||
p++;
|
||||
else
|
||||
{
|
||||
s++;
|
||||
p += n;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue