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

Dmitry Volyntsev xeioex at nginx.com
Wed Feb 5 14:58:25 UTC 2020


details:   https://hg.nginx.org/njs/rev/5cec0811cafb
branches:  
changeset: 1319:5cec0811cafb
user:      Dmitry Volyntsev <xeioex at 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;
 }
 
 


More information about the nginx-devel mailing list