You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2011/03/30 19:40:40 UTC
svn commit: r1087027 - /apr/apr/trunk/file_io/unix/open.c
Author: trawick
Date: Wed Mar 30 17:40:40 2011
New Revision: 1087027
URL: http://svn.apache.org/viewvc?rev=1087027&view=rev
Log:
fix undeclared variable issue with --disable-threads
Submitted by: Carlo Bramini <carlo.bramix libero.it>
Modified:
apr/apr/trunk/file_io/unix/open.c
Modified: apr/apr/trunk/file_io/unix/open.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/unix/open.c?rev=1087027&r1=1087026&r2=1087027&view=diff
==============================================================================
--- apr/apr/trunk/file_io/unix/open.c (original)
+++ apr/apr/trunk/file_io/unix/open.c Wed Mar 30 17:40:40 2011
@@ -98,8 +98,8 @@ APR_DECLARE(apr_status_t) apr_file_open(
int oflags = 0;
#if APR_HAS_THREADS
apr_thread_mutex_t *thlock;
- apr_status_t rv;
#endif
+ apr_status_t rv;
if ((flag & APR_FOPEN_READ) && (flag & APR_FOPEN_WRITE)) {
oflags = O_RDWR;