From 94e68b73480207895c85c5d5bcc5e0e65dd9212d Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Tue, 13 May 2014 16:51:37 +0200 Subject: [PATCH] civetweb.c: remove dead assignment of 'res' in match_prefix() Signed-off-by: Danny Al-Gaaf --- src/civetweb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/civetweb.c b/src/civetweb.c index 3f86067e..4c058d27 100644 --- a/src/civetweb.c +++ b/src/civetweb.c @@ -1265,7 +1265,6 @@ static int match_prefix(const char *pattern, int pattern_len, const char *str) } i = j = 0; - res = -1; for (; i < pattern_len; i++, j++) { if (pattern[i] == '?' && str[j] != '\0') { continue;