Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bddb4c6

Browse filesBrowse files
mhdawsontargos
authored andcommitted
http: add missing initialization
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>
1 parent 8166b07 commit bddb4c6
Copy full SHA for bddb4c6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎src/node_http_common-inl.h‎

Copy file name to clipboardExpand all lines: src/node_http_common-inl.h
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.