diff options
| author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2006-03-09 08:53:24 +0000 |
|---|---|---|
| committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2006-03-09 08:53:24 +0000 |
| commit | ce8cfa7fed92677e32d27906666c9195468898c9 (patch) | |
| tree | 66f16ac1c7b5212f41573d4b64a79efe82a1fa65 | |
| parent | 5f668efc325f02f8a0f1e828b0931775e923d1dd (diff) | |
| download | libapr-ce8cfa7fed92677e32d27906666c9195468898c9.tar.gz | |
* memory/unix/apr_pools.c (apr_pool_create_ex): Remove a redundant
test; global_pool is guaranteed to be non-NULL, so parent is
guaranteed to be non-NULL here.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@384465 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | memory/unix/apr_pools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index 4e6200ab9..b2bd54a94 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -791,7 +791,7 @@ APR_DECLARE(apr_status_t) apr_pool_create_ex(apr_pool_t **newpool, if (!parent) parent = global_pool; - if (!abort_fn && parent) + if (!abort_fn) abort_fn = parent->abort_fn; if (allocator == NULL) |
