diff options
author | Michael Dawson <mdawson@devrus.com> | 2021-10-21 23:22:35 +0300 |
---|---|---|
committer | Michael Dawson <mdawson@devrus.com> | 2021-11-12 20:03:30 +0300 |
commit | 055a38b4c7db64ab1461cd44b7605d5b020ab382 (patch) | |
tree | dfa6dc8417a3b9bf68acaecbc7cb2a5e1a457a3b /src/node_http_common-inl.h | |
parent | 2d005bb961eb7c3d55684493b77468a3632e4a2a (diff) |
http: add missing initialization
Add missing initialization reported by coverity scan.
Signed-off-by: Michael Dawson <mdawson@devrus.com>
PR-URL: https://github.com/nodejs/node/pull/40555
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/node_http_common-inl.h')
-rw-r--r-- | src/node_http_common-inl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_http_common-inl.h b/src/node_http_common-inl.h index 6ddc99e7d4e..e78a6fdd2f9 100644 --- a/src/node_http_common-inl.h +++ b/src/node_http_common-inl.h @@ -131,7 +131,8 @@ NgHeader<T>::NgHeader( template <typename T> NgHeader<T>::NgHeader(NgHeader<T>&& other) noexcept - : name_(std::move(other.name_)), + : env_(other.env_), + name_(std::move(other.name_)), value_(std::move(other.value_)), token_(other.token_), flags_(other.flags_) { |