You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2010/09/01 14:41:19 UTC
svn commit: r991515 - /httpd/httpd/trunk/server/util.c
Author: trawick
Date: Wed Sep 1 12:41:19 2010
New Revision: 991515
URL: http://svn.apache.org/viewvc?rev=991515&view=rev
Log:
c isn't used after being set (Fortify)
Modified:
httpd/httpd/trunk/server/util.c
Modified: httpd/httpd/trunk/server/util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?rev=991515&r1=991514&r2=991515&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util.c (original)
+++ httpd/httpd/trunk/server/util.c Wed Sep 1 12:41:19 2010
@@ -385,7 +385,7 @@ AP_DECLARE(char *) ap_pregsub(apr_pool_t
if (no > 9) { /* Ordinary character. */
if (c == '\\' && *src)
- c = *src++;
+ src++;
len++;
}
else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) {