]> git.kaiwu.me - nginx.git/commitdiff
axe useless code
authorIgor Sysoev <igor@sysoev.ru>
Thu, 13 Mar 2008 12:34:59 +0000 (12:34 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 13 Mar 2008 12:34:59 +0000 (12:34 +0000)
src/core/ngx_open_file_cache.c

index 9c5cc67320083d14196f72f5ebd17ce40502100b..abd0e2ae96a339ae1be6f8cf0cb03892b8848d6a 100644 (file)
@@ -308,8 +308,6 @@ ngx_open_cached_file(ngx_open_file_cache_t *cache, ngx_str_t *name,
 
     /* not found */
 
-    file = NULL;
-
     rc = ngx_open_and_stat_file(name->data, of, pool->log);
 
     if (rc != NGX_OK && (of->err == 0 || !of->errors)) {