aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_http_js_module.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2020-07-08 13:07:06 +0000
committerDmitry Volyntsev <xeioex@nginx.com>2020-07-08 13:07:06 +0000
commit293caa65926a42545fefc2bd01ca5771de409f4c (patch)
tree2ddc947c3d6b2f713c9a4eaee50db1b942e100a9 /nginx/ngx_http_js_module.c
parent46b5e54092d0d72fc69162b61d4fad82d32383bd (diff)
downloadnjs-293caa65926a42545fefc2bd01ca5771de409f4c.tar.gz
njs-293caa65926a42545fefc2bd01ca5771de409f4c.zip
HTTP: removed dead store assignment after 3df09cf5345c.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r--nginx/ngx_http_js_module.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c
index a02ffb68..f825c618 100644
--- a/nginx/ngx_http_js_module.c
+++ b/nginx/ngx_http_js_module.c
@@ -1384,8 +1384,6 @@ ngx_http_js_header_generic(njs_vm_t *vm, ngx_http_request_t *r,
length = 1;
}
- i = 0;
-
for (i = 0; i < (ngx_uint_t) length; i++) {
if (array != NULL) {
setval = njs_vm_array_prop(vm, array, i, &lvalue);