From b53fbf167fb681a8eefe6707304080bfbe1c9102 Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Tue, 5 May 2020 09:57:01 -0400 Subject: [PATCH] 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;