From 85f2f3fb9fb7936df0aa0643c5196db345912f55 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sat, 23 Mar 2013 16:03:18 +0000 Subject: fix warning: parameter 'flags' set but not used (Linux sendfile has no flags, anyway) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1460179 13f79535-47bb-0310-9956-ffa450edef68 --- network_io/unix/sendrecv.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'network_io') diff --git a/network_io/unix/sendrecv.c b/network_io/unix/sendrecv.c index fc1c20b7d..233bbb301 100644 --- a/network_io/unix/sendrecv.c +++ b/network_io/unix/sendrecv.c @@ -297,9 +297,6 @@ apr_status_t apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, hdtr = &no_hdtr; } - /* Ignore flags for now. */ - flags = 0; - if (hdtr->numheaders > 0) { apr_size_t hdrbytes; -- cgit v1.2.1