upstream nginx-0.7.43
[nginx.git] / nginx / src / http / modules / ngx_http_auth_basic_module.c
index 7506f7f..b288d95 100644 (file)
@@ -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";
     }