From 5508c228e76d0e832321148f0251478cb6d5308e Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Tue, 5 May 2020 09:57:01 -0400 Subject: Remove unreachable branch. --- src/util.c | 2 -- 1 file changed, 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; -- cgit v1.2.1