Skip to content

Commit

Permalink
http: add missing initialization
Browse files Browse the repository at this point in the history
Add missing initialization reported by coverity scan.

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: #40555
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
mhdawson authored and danielleadams committed Jan 30, 2022
1 parent b500904 commit 2b7197d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/node_http_common-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_) {
Expand Down

0 comments on commit 2b7197d

Please sign in to comment.