apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1460179 - /apr/apr/trunk/network_io/unix/sendrecv.c
Date Sat, 23 Mar 2013 16:03:19 GMT
Author: sf
Date: Sat Mar 23 16:03:18 2013
New Revision: 1460179

URL: http://svn.apache.org/r1460179
Log:
fix warning: parameter 'flags' set but not used

(Linux sendfile has no flags, anyway)

Modified:
    apr/apr/trunk/network_io/unix/sendrecv.c

Modified: apr/apr/trunk/network_io/unix/sendrecv.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/network_io/unix/sendrecv.c?rev=1460179&r1=1460178&r2=1460179&view=diff
==============================================================================
--- apr/apr/trunk/network_io/unix/sendrecv.c (original)
+++ apr/apr/trunk/network_io/unix/sendrecv.c Sat Mar 23 16:03:18 2013
@@ -297,9 +297,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