Remove unreachable branch.

This commit is contained in:
Brad Dunbar 2020-05-05 09:57:01 -04:00
parent 7dc3d5c1b8
commit b53fbf167f

View File

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