apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r537403 - /apr/apr/branches/1.2.x/file_io/unix/readwrite.c
Date Sat, 12 May 2007 12:40:14 GMT
Author: bojan
Date: Sat May 12 05:40:14 2007
New Revision: 537403

URL: http://svn.apache.org/viewvc?view=rev&rev=537403
Log:
Backport r537402 from the trunk.
Avoid compiler warning (rv only used if HAVE_WRITEV).

Modified:
    apr/apr/branches/1.2.x/file_io/unix/readwrite.c

Modified: apr/apr/branches/1.2.x/file_io/unix/readwrite.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/file_io/unix/readwrite.c?view=diff&rev=537403&r1=537402&r2=537403
==============================================================================
--- apr/apr/branches/1.2.x/file_io/unix/readwrite.c (original)
+++ apr/apr/branches/1.2.x/file_io/unix/readwrite.c Sat May 12 05:40:14 2007
@@ -226,8 +226,8 @@
 APR_DECLARE(apr_status_t) apr_file_writev(apr_file_t *thefile, const struct iovec *vec,
                                           apr_size_t nvec, apr_size_t *nbytes)
 {
-    apr_status_t rv;
 #ifdef HAVE_WRITEV
+    apr_status_t rv;
     int bytes;
 
     file_lock(thefile);



Mime
View raw message