diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2020-05-06 16:17:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 16:17:10 +0200 |
commit | 2e2f57e23b69e87e7ac066d4de03b3a84ec6366f (patch) | |
tree | 46998b6acfdad9bf8c566b03a11644af51e66c32 | |
parent | 028eb457239ded422557ba4870347a2abec2bc71 (diff) | |
parent | 5508c228e76d0e832321148f0251478cb6d5308e (diff) | |
download | redis-2e2f57e23b69e87e7ac066d4de03b3a84ec6366f.tar.gz |
Merge pull request #7201 from braddunbar/stringmatchlen
Remove unreachable branch.
-rw-r--r-- | src/util.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c index d173f776f..537c9313c 100644 --- a/src/util.c +++ b/src/util.c @@ -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; |