From: Igor Sysoev Date: Mon, 16 Mar 2009 11:08:08 +0000 (+0000) Subject: delete unneeded variable X-Git-Tag: release-0.7.43~3 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=f2a8affd7ea513d4e730d63ce2a3e5d896be0633;p=nginx.git delete unneeded variable --- diff --git a/src/http/modules/ngx_http_auth_basic_module.c b/src/http/modules/ngx_http_auth_basic_module.c index 7506f7fbe..b288d95dc 100644 --- a/src/http/modules/ngx_http_auth_basic_module.c +++ b/src/http/modules/ngx_http_auth_basic_module.c @@ -470,11 +470,8 @@ ngx_http_auth_basic_user_file(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) ngx_str_t *value; ngx_uint_t n; - ngx_http_core_loc_conf_t *clcf; ngx_http_script_compile_t sc; - clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); - if (alcf->user_file.data) { return "is duplicate"; }