summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68>2012-08-03 07:49:54 +0000
committerrpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68>2012-08-03 07:49:54 +0000
commit4cd40e6c8c03356cbe5eab8e111845364990c97b (patch)
treea0efc1852188279c06bd55e0a678953ca863e740
parent7df710929a6634e20aaaf816370a1264a6680ce1 (diff)
downloadlibapr-4cd40e6c8c03356cbe5eab8e111845364990c97b.tar.gz
Merge r1368819 from trunk:
* We only need the pool variable in the debug case. Submitted by: rpluem git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1368821 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--tables/apr_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tables/apr_tables.c b/tables/apr_tables.c
index 683f48a16..7479ef47c 100644
--- a/tables/apr_tables.c
+++ b/tables/apr_tables.c
@@ -730,11 +730,11 @@ APR_DECLARE(void) apr_table_mergen(apr_table_t *t, const char *key,
apr_table_entry_t *next_elt;
apr_table_entry_t *end_elt;
apr_uint32_t checksum;
- apr_pool_t *pool;
int hash;
#if APR_POOL_DEBUG
{
+ apr_pool_t *pool;
pool = apr_pool_find(key);
if ((pool != key) && (!apr_pool_is_ancestor(pool, t->a.pool))) {
fprintf(stderr, "apr_table_mergen: key not in ancestor pool of t\n");