diff options
author | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-14 08:01:30 +0000 |
---|---|---|
committer | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-14 08:01:30 +0000 |
commit | a3c264b4d8863588df5220c3d6c811875525e1e9 (patch) | |
tree | 7e02f20f9f5cc952008f99baf772be36560908a2 | |
parent | 3e1c5d9ccbec21d7a18e8cb82ba7da6ce37a96bf (diff) | |
download | libapr-a3c264b4d8863588df5220c3d6c811875525e1e9.tar.gz |
Avoid compiler warning when threads are not available.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.3.x@685797 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poll/unix/epoll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/poll/unix/epoll.c b/poll/unix/epoll.c index 7a3831bee..ff9f73cd5 100644 --- a/poll/unix/epoll.c +++ b/poll/unix/epoll.c @@ -90,7 +90,9 @@ APR_DECLARE(apr_status_t) apr_pollset_create(apr_pollset_t **pollset, apr_pool_t *p, apr_uint32_t flags) { +#if APR_HAS_THREADS apr_status_t rv; +#endif int fd; fd = epoll_create(size); |