[njs] HTTP: removed dead store assignment after 3df09cf5345c.
Dmitry Volyntsev
xeioex at nginx.com
Wed Jul 8 13:08:47 UTC 2020
details: https://hg.nginx.org/njs/rev/0c941c887ab7
branches:
changeset: 1462:0c941c887ab7
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Wed Jul 08 13:07:06 2020 +0000
description:
HTTP: removed dead store assignment after 3df09cf5345c.
diffstat:
nginx/ngx_http_js_module.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r 960402554cc9 -r 0c941c887ab7 nginx/ngx_http_js_module.c
--- a/nginx/ngx_http_js_module.c Wed Jul 08 13:07:05 2020 +0000
+++ b/nginx/ngx_http_js_module.c Wed Jul 08 13:07:06 2020 +0000
@@ -1384,8 +1384,6 @@ ngx_http_js_header_generic(njs_vm_t *vm,
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);
More information about the nginx-devel
mailing list