summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2006-03-09 08:53:24 +0000
committerJoe Orton <jorton@apache.org>2006-03-09 08:53:24 +0000
commit84f92f83843eefb87c887061e6242b043f573a9b (patch)
tree66f16ac1c7b5212f41573d4b64a79efe82a1fa65
parent7356ea1fdf054b8dfb25b833fb3d58025ee17623 (diff)
downloadapr-84f92f83843eefb87c887061e6242b043f573a9b.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: https://svn.apache.org/repos/asf/apr/apr/trunk@384465 13f79535-47bb-0310-9956-ffa450edef68
-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 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)