Merge pull request #7201 from braddunbar/stringmatchlen

Remove unreachable branch.
This commit is contained in:
Salvatore Sanfilippo
2020-05-06 16:17:10 +02:00
committed by GitHub

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;