Skip to content

Commit bfc1ad0

Browse 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

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_http2_core-inl.h

-1
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)