comparison src/http/ngx_http_file_cache.c @ 5898:f0af7ba616d8

Cache: removed dead store in ngx_http_file_cache_vary_header(). Found by Clang Static Analyzer.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 05 Nov 2014 18:53:26 +0300
parents ee9230cd4bda
children 2f7e557eab5b
comparison
equal deleted inserted replaced
5897:dff86e2246a5 5898:f0af7ba616d8
1020 } 1020 }
1021 1021
1022 /* normalize spaces */ 1022 /* normalize spaces */
1023 1023
1024 p = header[i].value.data; 1024 p = header[i].value.data;
1025 start = p;
1026 last = p + header[i].value.len; 1025 last = p + header[i].value.len;
1027 1026
1028 while (p < last) { 1027 while (p < last) {
1029 1028
1030 while (p < last && (*p == ' ' || *p == ',')) { p++; } 1029 while (p < last && (*p == ' ' || *p == ',')) { p++; }