Skip to content

Commit 3f52962

Browse files
addaleaxcjihrig
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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent b50c334 commit 3f52962

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)