httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r991515 - /httpd/httpd/trunk/server/util.c
Date Wed, 01 Sep 2010 12:41:19 GMT
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) {



Mime
View raw message