]> git.kaiwu.me - nginx.git/commitdiff
delete unneeded variable
authorIgor Sysoev <igor@sysoev.ru>
Mon, 16 Mar 2009 11:08:08 +0000 (11:08 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 16 Mar 2009 11:08:08 +0000 (11:08 +0000)
src/http/modules/ngx_http_auth_basic_module.c

index 7506f7fbec90841883cdc52f8dcf4682a50a888a..b288d95dc7880e3aa29cfe3ae1429687cbaa4289 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";
     }