October 04, 2016 04:30AM
details: http://hg.nginx.org/njs/rev/1261cc58591e
branches:
changeset: 188:1261cc58591e
user: Igor Sysoev <igor@sysoev.ru>
date: Tue Oct 04 11:28:29 2016 +0300
description:
A dead code found by Coverity Scan has been removed.

diffstat:

njs/njs_parser_expression.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)

diffs (15 lines):

diff -r 8c2cea409034 -r 1261cc58591e njs/njs_parser_expression.c
--- a/njs/njs_parser_expression.c Fri Sep 30 22:07:07 2016 +0300
+++ b/njs/njs_parser_expression.c Tue Oct 04 11:28:29 2016 +0300
@@ -971,11 +971,6 @@ njs_parser_call_expression(njs_vm_t *vm,

func->ctor = 0;

- if (token != NJS_TOKEN_OPEN_PARENTHESIS) {
- parser->node = func;
- return token;
- }
-
token = njs_parser_arguments(vm, parser, func);
if (nxt_slow_path(token <= NJS_TOKEN_ILLEGAL)) {
return token;

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

[njs] A dead code found by Coverity Scan has been removed.

Igor Sysoev 963 October 04, 2016 04:30AM



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

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready