diff options
author | Jeff Trawick <trawick@apache.org> | 2010-08-20 22:39:02 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2010-08-20 22:39:02 +0200 |
commit | 43ca6cc23903749f29fb5bc4ddad427f22d2bfc4 (patch) | |
tree | ab71ec3aca00ab6ff0e2c38f4664fc7814b466f3 /server/config.c | |
parent | Remove unneeded CHANGES entry. (diff) | |
download | apache2-43ca6cc23903749f29fb5bc4ddad427f22d2bfc4.tar.xz apache2-43ca6cc23903749f29fb5bc4ddad427f22d2bfc4.zip |
remove useless check for current == NULL; if it is NULL, a
segfault will occur right before the function returns anyway
(IOW, caller must not pass in NULL for that arg)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@987629 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/config.c')
-rw-r--r-- | server/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/config.c b/server/config.c index 5f0ae48cdf..0549782ff2 100644 --- a/server/config.c +++ b/server/config.c @@ -1186,7 +1186,7 @@ AP_DECLARE(const char *) ap_build_cont_config(apr_pool_t *p, sub_tree = *curr_parent; } - if (sub_tree == NULL && current != NULL) { + if (sub_tree == NULL) { sub_tree = *current; } } |