summaryrefslogtreecommitdiff
path: root/network_io/unix/sendrecv.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2013-03-23 16:03:18 +0000
committerStefan Fritsch <sf@apache.org>2013-03-23 16:03:18 +0000
commit85f2f3fb9fb7936df0aa0643c5196db345912f55 (patch)
treeaebd6cd30300cc9d0271e07016f78eb0944a941b /network_io/unix/sendrecv.c
parent2ebfbecf3ac7a147467bf428bee6531cf8538330 (diff)
downloadapr-85f2f3fb9fb7936df0aa0643c5196db345912f55.tar.gz
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
Diffstat (limited to 'network_io/unix/sendrecv.c')
-rw-r--r--network_io/unix/sendrecv.c3
1 files changed, 0 insertions, 3 deletions
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;