From: Jeff Trawick Date: Wed, 1 Sep 2010 12:41:19 +0000 (+0000) Subject: c isn't used after being set (Fortify) X-Git-Tag: 2.3.9~521 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97a59dd6c4db360a2823ad882448cc216b326433;p=thirdparty%2Fapache%2Fhttpd.git c isn't used after being set (Fortify) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@991515 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util.c b/server/util.c index 844185802b8..fb0eff87071 100644 --- a/server/util.c +++ b/server/util.c @@ -385,7 +385,7 @@ AP_DECLARE(char *) ap_pregsub(apr_pool_t *p, const char *input, if (no > 9) { /* Ordinary character. */ if (c == '\\' && *src) - c = *src++; + src++; len++; } else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) {