diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2019-08-09 07:18:22 +0200 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2019-08-09 07:18:22 +0200 |
commit | 56ad5f6835c81481851f907afa274525b81375b7 (patch) | |
tree | ddd410ed9eb2f6685f6a97760a9ff5b397249265 /modules | |
parent | Tweak coccinelle search pattern. (diff) | |
download | apache2-56ad5f6835c81481851f907afa274525b81375b7.tar.xz apache2-56ad5f6835c81481851f907afa274525b81375b7.zip |
Axe some dead code + slighly improve a comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1864759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/aaa/mod_authz_core.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/aaa/mod_authz_core.c b/modules/aaa/mod_authz_core.c index 958511446e..9c12003018 100644 --- a/modules/aaa/mod_authz_core.c +++ b/modules/aaa/mod_authz_core.c @@ -196,9 +196,9 @@ static authz_status authz_alias_check_authorization(request_rec *r, authz_status ret = AUTHZ_DENIED; /* Look up the provider alias in the alias list. - * Get the dir_config and call ap_Merge_per_dir_configs() + * Get the dir_config and call ap_merge_per_dir_configs() * Call the real provider->check_authorization() function - * return the result of the above function call + * Return the result of the above function call */ provider_name = apr_table_get(r->notes, AUTHZ_PROVIDER_NAME_NOTE); @@ -234,9 +234,6 @@ static authz_status authz_alias_check_authorization(request_rec *r, provider_name); } } - else { - ap_assert(provider_name != NULL); - } return ret; } |