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 bfc1ad0

Browse filesBrowse files
addaleaxMylesBorins
authored andcommitted
http2: remove unused assignment
When assigning to a union twice, the first assignment is a no-op. PR-URL: #16461 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
1 parent 56dd734 commit bfc1ad0
Copy full SHA for bfc1ad0

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎src/node_http2_core-inl.h‎

Copy file name to clipboardExpand all lines: src/node_http2_core-inl.h
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,6 @@ inline int Nghttp2Stream::SubmitFile(int fd,
794794
DEBUG_HTTP2("Nghttp2Stream %d: submitting file\n", id_);
795795
getTrailers_ = options & STREAM_OPTION_GET_TRAILERS;
796796
nghttp2_data_provider prov;
797-
prov.source.ptr = this;
798797
prov.source.fd = fd;
799798
prov.read_callback = Nghttp2Session::OnStreamReadFD;
800799

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.