Remove unreachable branch.

This commit is contained in:
Brad Dunbar 2020-05-05 09:57:01 -04:00
parent 373a3384ac
commit 5508c228e7
No known key found for this signature in database
GPG Key ID: C32E3CC9B201C719

View File

@ -67,8 +67,6 @@ int stringmatchlen(const char *pattern, int patternLen,
return 0; /* no match */ return 0; /* no match */
break; break;
case '?': case '?':
if (stringLen == 0)
return 0; /* no match */
string++; string++;
stringLen--; stringLen--;
break; break;