perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r983073 - /perl/modperl/trunk/src/modules/perl/modperl_handler.c
Date Fri, 06 Aug 2010 17:57:48 GMT
Author: pgollucci
Date: Fri Aug  6 17:57:48 2010
New Revision: 983073

URL: http://svn.apache.org/viewvc?rev=983073&view=rev
Log:
Removed unused variable.

Reported by: clang static analyzer

Modified:
    perl/modperl/trunk/src/modules/perl/modperl_handler.c

Modified: perl/modperl/trunk/src/modules/perl/modperl_handler.c
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/src/modules/perl/modperl_handler.c?rev=983073&r1=983072&r2=983073&view=diff
==============================================================================
--- perl/modperl/trunk/src/modules/perl/modperl_handler.c (original)
+++ perl/modperl/trunk/src/modules/perl/modperl_handler.c Fri Aug  6 17:57:48 2010
@@ -260,7 +260,7 @@ int modperl_handler_equal(modperl_handle
 MpAV *modperl_handler_array_merge(apr_pool_t *p, MpAV *base_a, MpAV *add_a)
 {
     int i, j;
-    modperl_handler_t **base_h, **add_h, **mrg_h;
+    modperl_handler_t **base_h, **add_h;
     MpAV *mrg_a;
 
     if (!add_a) {
@@ -273,7 +273,6 @@ MpAV *modperl_handler_array_merge(apr_po
 
     mrg_a = apr_array_copy(p, base_a);
 
-    mrg_h  = (modperl_handler_t **)mrg_a->elts;
     base_h = (modperl_handler_t **)base_a->elts;
     add_h  = (modperl_handler_t **)add_a->elts;
 



Mime
View raw message