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>
This commit is contained in:
Michael Dawson authored and Danielle Adams committed 2022-01-31 22:53:25 -05:00
1 parent 7fba4e5819
commit 86bbb427ce
1 file changed
+2 -1
+2 -1
View File
@@ -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_) {