diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-11-05 18:53:26 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-11-05 18:53:26 +0300 |
commit | e2bc3c11b284b6876d41ba31abf1f3d304818b3d (patch) | |
tree | fd093a6254de3435641e2785c83bd3db2f4d6e4c /src/http/ngx_http_file_cache.c | |
parent | f9b99baed366b855cef24f3443be6337583ac0f3 (diff) | |
download | nginx-e2bc3c11b284b6876d41ba31abf1f3d304818b3d.tar.gz nginx-e2bc3c11b284b6876d41ba31abf1f3d304818b3d.zip |
Cache: removed dead store in ngx_http_file_cache_vary_header().
Found by Clang Static Analyzer.
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index bc4c80602..e7072e10e 100644 --- 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_request_t *r, ngx_md5_t *md5, /* normalize spaces */ p = header[i].value.data; - start = p; last = p + header[i].value.len; while (p < last) { |