perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r410810 - in /perl/modperl/trunk: Changes src/modules/perl/mod_perl.c
Date Thu, 01 Jun 2006 09:29:32 GMT
Author: pgollucci
Date: Thu Jun  1 02:29:30 2006
New Revision: 410810

URL: http://svn.apache.org/viewvc?rev=410810&view=rev
Log:
Fix "value computed not used" gcc 4.1.x compile errors
PERL_SYS_INIT3() #define macro or one of the things it
expands to returns a value we don't use.



Modified:
    perl/modperl/trunk/Changes
    perl/modperl/trunk/src/modules/perl/mod_perl.c

Modified: perl/modperl/trunk/Changes
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=410810&r1=410809&r2=410810&view=diff
==============================================================================
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Thu Jun  1 02:29:30 2006
@@ -12,6 +12,9 @@
 
 =item 2.0.3-dev
 
+Fix "value computed not used" gcc 4.1.x compile errors
+[Philip M. Gollucci]
+
 Require B::Size 0.07 and B::TerseSize 0.07 for Apache2::Status
 [Philip M. Gollucci]
 

Modified: perl/modperl/trunk/src/modules/perl/mod_perl.c
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/src/modules/perl/mod_perl.c?rev=410810&r1=410809&r2=410810&view=diff
==============================================================================
--- perl/modperl/trunk/src/modules/perl/mod_perl.c (original)
+++ perl/modperl/trunk/src/modules/perl/mod_perl.c Thu Jun  1 02:29:30 2006
@@ -558,7 +558,7 @@
     /* not every OS uses those vars in PERL_SYS_INIT3 macro */
     argc = argc; argv = argv; env = env;
 
-    PERL_SYS_INIT3(&argc, &argv, &env);
+    (void)PERL_SYS_INIT3(&argc, &argv, &env);
 
 #if 0 /*XXX*/
 #ifdef PTHREAD_ATFORK



Mime
View raw message