[njs] Removed dead code in njs_typed_array_get() after 1c3c593cc3fd.
Dmitry Volyntsev
xeioex at nginx.com
Thu Jan 9 12:55:24 UTC 2020
details: https://hg.nginx.org/njs/rev/4e3c2f9e4eee
branches:
changeset: 1295:4e3c2f9e4eee
user: Dmitry Volyntsev <xeioex at 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;
}
More information about the nginx-devel
mailing list