summaryrefslogtreecommitdiff
path: root/memory
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2020-06-01 08:56:13 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2020-06-01 08:56:13 +0000
commit1b637afdb0c59ed804bd6ed49a4ae3512bce6fa2 (patch)
tree1e5db0f1dbf3f4e75c62a95a56871ac35a25af19 /memory
parent073fc254bac8c6656833464d06fa5fcbcba98b4e (diff)
downloadlibapr-1b637afdb0c59ed804bd6ed49a4ae3512bce6fa2.tar.gz
* memory/unix/apr_pools.c (apr_pvsprintf): Fix a clang warning, the
'active' variable is never read/used before being set again to pool->active on line 1436. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1878340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r--memory/unix/apr_pools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c
index 94c1a17e9..3306a323e 100644
--- a/memory/unix/apr_pools.c
+++ b/memory/unix/apr_pools.c
@@ -1366,7 +1366,7 @@ APR_DECLARE(char *) apr_pvsprintf(apr_pool_t *pool, const char *fmt, va_list ap)
apr_size_t free_index;
pool_concurrency_set_used(pool);
- ps.node = active = pool->active;
+ ps.node = pool->active;
ps.pool = pool;
ps.vbuff.curpos = ps.node->first_avail;