Welcome! Log In Create A New Profile

Advanced

[njs] Removed dead code in njs_typed_array_get() after 1c3c593cc3fd.

Dmitry Volyntsev
January 09, 2020 07:56AM
details: https://hg.nginx.org/njs/rev/4e3c2f9e4eee
branches:
changeset: 1295:4e3c2f9e4eee
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu Jan 09 15:54:16 2020 +0300
description:
Removed dead code in njs_typed_array_get() after 1c3c593cc3fd.

Found by Coverity (CID 1457372).

diffstat:

src/njs_typed_array.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r 5cd098c6c4de -r 4e3c2f9e4eee src/njs_typed_array.h
--- a/src/njs_typed_array.h Thu Jan 09 15:21:08 2020 +0300
+++ b/src/njs_typed_array.h Thu Jan 09 15:54:16 2020 +0300
@@ -86,8 +86,6 @@ njs_typed_array_get(const njs_typed_arra

return buffer->u.f64[index];
}
-
- return NAN;
}


_______________________________________________
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_typed_array_get() after 1c3c593cc3fd.

Dmitry Volyntsev 47 January 09, 2020 07:56AM



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

Online Users

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