Welcome! Log In Create A New Profile

Advanced

[njs] Removed dead code in njs_json_parse_iterator() after ccfa84cea2b3.

Dmitry Volyntsev
February 05, 2020 10:00AM
details: https://hg.nginx.org/njs/rev/5cec0811cafb
branches:
changeset: 1319:5cec0811cafb
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Wed Feb 05 17:30:20 2020 +0300
description:
Removed dead code in njs_json_parse_iterator() after ccfa84cea2b3.

diffstat:

src/njs_json.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r d228145f0178 -r 5cec0811cafb src/njs_json.c
--- a/src/njs_json.c Wed Feb 05 15:54:56 2020 +0300
+++ b/src/njs_json.c Wed Feb 05 17:30:20 2020 +0300
@@ -933,10 +933,6 @@ njs_json_parse_iterator(njs_vm_t *vm, nj
return ret;
}
}
-
- njs_internal_error(vm, "njs_json_parse_iterator() unexpected exit");
-
- return NJS_ERROR;
}


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Removed dead code in njs_json_parse_iterator() after ccfa84cea2b3.

Dmitry Volyntsev 56 February 05, 2020 10:00AM



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

Online Users

Guests: 76
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