mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
src: remove unused variable in node_http2.cc
PR-URL: https://github.com/nodejs/node/pull/26395 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
e95e7f9af5
commit
3770ab99a8
1 file changed
-3
@@ -1283,9 +1283,6 @@ void Http2Session::HandleHeadersFrame(const nghttp2_frame* frame) {
|
||||
|
||||
std::vector<nghttp2_header> headers(stream->move_headers());
|
||||
|
||||
Local<String> name_str;
|
||||
Local<String> value_str;
|
||||
|
||||
// The headers are passed in above as a queue of nghttp2_header structs.
|
||||
// The following converts that into a JS array with the structure:
|
||||
// [name1, value1, name2, value2, name3, value3, name3, value4] and so on.
|
||||
|
||||
Reference in new issue
Block a user