fnmatch: Static analysis fixes

This commit is contained in:
Matthias Clasen
2021-05-03 07:33:49 -04:00
parent 6863528df1
commit a69ae36a99

View File

@@ -106,7 +106,7 @@ gtk_fnmatch_intern (const char *pattern,
return FALSE;
{
const char *last_p = p;
const char *last_p;
for (last_p = p, c = get_char (&p);
c == '?' || c == '*';