httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r410805 - in /httpd/apreq/trunk: CHANGES glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h glue/perl/xsbuilder/APR/Request/Param/Param.xs
Date Thu, 01 Jun 2006 09:09:09 GMT
Author: pgollucci
Date: Thu Jun  1 02:09:08 2006
New Revision: 410805

URL: http://svn.apache.org/viewvc?rev=410805&view=rev
Log:
SvUPGRADE *might* return a value and we don't use it


Modified:
    httpd/apreq/trunk/CHANGES
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs

Modified: httpd/apreq/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/CHANGES?rev=410805&r1=410804&r2=410805&view=diff
==============================================================================
--- httpd/apreq/trunk/CHANGES (original)
+++ httpd/apreq/trunk/CHANGES Thu Jun  1 02:09:08 2006
@@ -4,6 +4,9 @@
 
 @section v2_08 Changes with libapreq2-2.08 (under development)
 
+- Perl Glue
+  Fix "value computed not used" gcc 4.1.x compile errors
+  
 - Build [Randy Kobes]
   Fix the location of apxs and the names of the apr and aprutil
   libraries on Win32 to enable building against Apache/2.2.

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h?rev=410805&r1=410804&r2=410805&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h Thu Jun
 1 02:09:08 2006
@@ -73,7 +73,7 @@
         want = SvIV(ST(2));
     case 2:
         sv = ST(1);
-        SvUPGRADE(sv, SVt_PV);
+        (void)SvUPGRADE(sv, SVt_PV);
         if (SvROK(ST(0))) {
             IV iv;
             obj = apreq_xs_find_bb_obj(aTHX_ ST(0));

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs?rev=410805&r1=410804&r2=410805&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs Thu Jun  1 02:09:08 2006
@@ -201,7 +201,7 @@
         Perl_croak(aTHX_ "$param->upload_slurp($data): can't get upload length");
 
     RETVAL = len;
-    SvUPGRADE(buffer, SVt_PV);
+    (void)SvUPGRADE(buffer, SVt_PV);
     data = SvGROW(buffer, RETVAL + 1);
     data[RETVAL] = 0;
     SvCUR_set(buffer, RETVAL);



Mime
View raw message