Remove unreachable branch.

This commit is contained in:
Brad Dunbar 2020-05-05 09:57:01 -04:00 committed by antirez
parent c7edffbd56
commit 24e12641d5

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;