You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by sf...@apache.org on 2013/05/03 20:52:23 UTC

svn commit: r1478924 - in /apr/apr/branches/1.5.x: ./ network_io/unix/sendrecv.c

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;