Skip to content

Commit bddb4c6

Browse files
mhdawsontargos
authored andcommitted
http: add missing initialization
Add missing initialization reported by coverity scan. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #40555 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 8166b07 commit bddb4c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node_http_common-inl.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ NgHeader<T>::NgHeader(
131131

132132
template <typename T>
133133
NgHeader<T>::NgHeader(NgHeader<T>&& other) noexcept
134-
: name_(std::move(other.name_)),
134+
: env_(other.env_),
135+
name_(std::move(other.name_)),
135136
value_(std::move(other.value_)),
136137
token_(other.token_),
137138
flags_(other.flags_) {

0 commit comments

Comments
 (0)