]> git.kaiwu.me - nginx.git/commitdiff
delete unneeded condition
authorIgor Sysoev <igor@sysoev.ru>
Thu, 26 Mar 2009 14:00:28 +0000 (14:00 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 26 Mar 2009 14:00:28 +0000 (14:00 +0000)
src/http/ngx_http_file_cache.c

index 0cb81d934486991ffff0ffc44c891519df116bc9..efe0da6b09cb102b047335c8c9ede4fa276b1b0a 100644 (file)
@@ -356,10 +356,7 @@ ngx_http_file_cache_exists(ngx_http_request_t *r, ngx_http_file_cache_t *cache)
         if (fcn->uses >= r->cache->min_uses) {
 
             r->cache->exists = fcn->exists;
-
-            if (fcn->body_start) {
-                r->cache->body_start = fcn->body_start;
-            }
+            r->cache->body_start = fcn->body_start;
 
             rc = NGX_OK;