perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go...@apache.org
Subject svn commit: r388263 - /perl/modperl/trunk/src/modules/perl/modperl_handler.c
Date Thu, 23 Mar 2006 20:35:54 GMT
Author: gozer
Date: Thu Mar 23 12:35:52 2006
New Revision: 388263

URL: http://svn.apache.org/viewcvs?rev=388263&view=rev
Log:
Fix a new detected warning with gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)

warning: value computed is not used


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/viewcvs/perl/modperl/trunk/src/modules/perl/modperl_handler.c?rev=388263&r1=388262&r2=388263&view=diff
==============================================================================
--- perl/modperl/trunk/src/modules/perl/modperl_handler.c (original)
+++ perl/modperl/trunk/src/modules/perl/modperl_handler.c Thu Mar 23 12:35:52 2006
@@ -88,7 +88,7 @@
     modperl_modglobal_key_t *gkey =
         modperl_modglobal_lookup(aTHX_ "ANONSUB");
     MP_TRACE_h(MP_FUNC, "init $PL_modglobal{ANONSUB} = []");
-    MP_MODGLOBAL_STORE_HV(gkey);
+    (void)MP_MODGLOBAL_STORE_HV(gkey);
 }
 
 /* allocate and populate the anon handler sub-struct */



Mime
View raw message