From: Dmitry Volyntsev Date: Thu, 9 Jan 2020 12:54:16 +0000 (+0300) Subject: Removed dead code in njs_typed_array_get() after 1c3c593cc3fd. X-Git-Tag: 0.3.8~14 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/%7B@url%7D?a=commitdiff_plain;h=785b55644b69c411ca493399c76c24f785017b9f;p=njs.git Removed dead code in njs_typed_array_get() after 1c3c593cc3fd. Found by Coverity (CID 1457372). --- diff --git a/src/njs_typed_array.h b/src/njs_typed_array.h index daed1684..4a99b1be 100644 --- a/src/njs_typed_array.h +++ b/src/njs_typed_array.h @@ -86,8 +86,6 @@ njs_typed_array_get(const njs_typed_array_t *array, uint32_t index) return buffer->u.f64[index]; } - - return NAN; }