diff options
author | Ruediger Pluem <rpluem@apache.org> | 2012-08-03 07:47:37 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2012-08-03 07:47:37 +0000 |
commit | edd6aa876a5b7e9a5a5003007ac9b0e65ff6579e (patch) | |
tree | 9944b726b2eb37acfeefad019deb77fa5dd8eb02 /tables | |
parent | b9989f1ccb81c70e5144e1adf67831f9e9634659 (diff) | |
download | apr-edd6aa876a5b7e9a5a5003007ac9b0e65ff6579e.tar.gz |
* We only need the pool variable in the debug case.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1368819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables')
-rw-r--r-- | tables/apr_tables.c | 2 |
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"); |