Welcome! Log In Create A New Profile

Advanced

[njs] HTTP: removed dead store assignment after 3df09cf5345c.

Dmitry Volyntsev
July 08, 2020 09:10AM
details: https://hg.nginx.org/njs/rev/0c941c887ab7
branches:
changeset: 1462:0c941c887ab7
user: Dmitry Volyntsev <xeioex@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);
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] HTTP: removed dead store assignment after 3df09cf5345c.

Dmitry Volyntsev 79 July 08, 2020 09:10AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 106
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready