You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2020/06/01 08:56:13 UTC
svn commit: r1878340 - /apr/apr/trunk/memory/unix/apr_pools.c
Author: jorton
Date: Mon Jun 1 08:56:13 2020
New Revision: 1878340
URL: http://svn.apache.org/viewvc?rev=1878340&view=rev
Log:
* 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.
Modified:
apr/apr/trunk/memory/unix/apr_pools.c
Modified: apr/apr/trunk/memory/unix/apr_pools.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/memory/unix/apr_pools.c?rev=1878340&r1=1878339&r2=1878340&view=diff
==============================================================================
--- apr/apr/trunk/memory/unix/apr_pools.c (original)
+++ apr/apr/trunk/memory/unix/apr_pools.c Mon Jun 1 08:56:13 2020
@@ -1366,7 +1366,7 @@ APR_DECLARE(char *) apr_pvsprintf(apr_po
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;