details:   http://hg.nginx.org/nginx/rev/f0af7ba616d8
branches:  
changeset: 5898:f0af7ba616d8
user:      Maxim Dounin <mdou...@mdounin.ru>
date:      Wed Nov 05 18:53:26 2014 +0300
description:
Cache: removed dead store in ngx_http_file_cache_vary_header().

Found by Clang Static Analyzer.

diffstat:

 src/http/ngx_http_file_cache.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -1022,7 +1022,6 @@ ngx_http_file_cache_vary_header(ngx_http
         /* normalize spaces */
 
         p = header[i].value.data;
-        start = p;
         last = p + header[i].value.len;
 
         while (p < last) {

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to