apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1478924 - in /apr/apr/branches/1.5.x: ./ network_io/unix/sendrecv.c
Date Fri, 03 May 2013 18:52:23 GMT
Author: sf
Date: Fri May  3 18:52:22 2013
New Revision: 1478924

URL: http://svn.apache.org/r1478924
Log:
Merge r1460179:

fix warning: parameter 'flags' set but not used

(Linux sendfile has no flags, anyway)


Modified:
    apr/apr/branches/1.5.x/   (props changed)
    apr/apr/branches/1.5.x/network_io/unix/sendrecv.c

Propchange: apr/apr/branches/1.5.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1460179

Modified: apr/apr/branches/1.5.x/network_io/unix/sendrecv.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/network_io/unix/sendrecv.c?rev=1478924&r1=1478923&r2=1478924&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/network_io/unix/sendrecv.c (original)
+++ apr/apr/branches/1.5.x/network_io/unix/sendrecv.c Fri May  3 18:52:22 2013
@@ -292,9 +292,6 @@ apr_status_t apr_socket_sendfile(apr_soc
         hdtr = &no_hdtr;
     }
 
-    /* Ignore flags for now. */
-    flags = 0;
-
     if (hdtr->numheaders > 0) {
         apr_size_t hdrbytes;
 



Mime
View raw message