diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-21 14:30:14 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-21 14:30:14 +0000 |
commit | c35b5eedd54905c6304ba41b46db05ed613ff6dd (patch) | |
tree | 7ce8370b533c805d922041563470e6c43a39dd60 /network_io/win32 | |
parent | 8901f33454f81a36f4ffff6c91bff5b2374622b2 (diff) | |
download | libapr-c35b5eedd54905c6304ba41b46db05ed613ff6dd.tar.gz |
merge r949209 from trunk
axe unused variables
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/win32')
-rw-r--r-- | network_io/win32/sendrecv.c | 1 | ||||
-rw-r--r-- | network_io/win32/sockets.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/network_io/win32/sendrecv.c b/network_io/win32/sendrecv.c index 80adccdd1..a01f0329a 100644 --- a/network_io/win32/sendrecv.c +++ b/network_io/win32/sendrecv.c @@ -266,7 +266,6 @@ APR_DECLARE(apr_status_t) apr_socket_sendfile(apr_socket_t *sock, DWORD dwFlags = 0; apr_size_t nbytes; TRANSMIT_FILE_BUFFERS tfb, *ptfb = NULL; - int ptr = 0; apr_size_t bytes_to_send; /* Bytes to send out of the file (not including headers) */ int disconnected = 0; int sendv_trailers = 0; diff --git a/network_io/win32/sockets.c b/network_io/win32/sockets.c index 88a362f71..62f61fe4a 100644 --- a/network_io/win32/sockets.c +++ b/network_io/win32/sockets.c @@ -81,7 +81,9 @@ APR_DECLARE(apr_status_t) apr_socket_create(apr_socket_t **new, int family, int type, int protocol, apr_pool_t *cont) { +#if APR_HAVE_IPV6 int downgrade = (family == AF_UNSPEC); +#endif if (family == AF_UNSPEC) { #if APR_HAVE_IPV6 |