apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1083803 - in /apr/apr/branches/1.5.x: mmap/win32/mmap.c network_io/win32/sendrecv.c network_io/win32/sockets.c
Date Mon, 21 Mar 2011 14:30:14 GMT
Author: trawick
Date: Mon Mar 21 14:30:14 2011
New Revision: 1083803

URL: http://svn.apache.org/viewvc?rev=1083803&view=rev
Log:
merge r949209 from trunk

axe unused variables

Modified:
    apr/apr/branches/1.5.x/mmap/win32/mmap.c
    apr/apr/branches/1.5.x/network_io/win32/sendrecv.c
    apr/apr/branches/1.5.x/network_io/win32/sockets.c

Modified: apr/apr/branches/1.5.x/mmap/win32/mmap.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/mmap/win32/mmap.c?rev=1083803&r1=1083802&r2=1083803&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/mmap/win32/mmap.c (original)
+++ apr/apr/branches/1.5.x/mmap/win32/mmap.c Mon Mar 21 14:30:14 2011
@@ -29,7 +29,6 @@ static apr_status_t mmap_cleanup(void *t
 {
     apr_mmap_t *mm = themmap;
     apr_mmap_t *next = APR_RING_NEXT(mm,link);
-    apr_status_t rv = 0;
 
     /* we no longer refer to the mmaped region */
     APR_RING_REMOVE(mm,link);

Modified: apr/apr/branches/1.5.x/network_io/win32/sendrecv.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/network_io/win32/sendrecv.c?rev=1083803&r1=1083802&r2=1083803&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/network_io/win32/sendrecv.c (original)
+++ apr/apr/branches/1.5.x/network_io/win32/sendrecv.c Mon Mar 21 14:30:14 2011
@@ -266,7 +266,6 @@ APR_DECLARE(apr_status_t) apr_socket_sen
     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;

Modified: apr/apr/branches/1.5.x/network_io/win32/sockets.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/network_io/win32/sockets.c?rev=1083803&r1=1083802&r2=1083803&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/network_io/win32/sockets.c (original)
+++ apr/apr/branches/1.5.x/network_io/win32/sockets.c Mon Mar 21 14:30:14 2011
@@ -81,7 +81,9 @@ APR_DECLARE(apr_status_t) apr_socket_cre
                                             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



Mime
View raw message