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:
gengjiawen authored and Daniel Bevenius committed 2019-03-06 10:04:58 +01:00
1 parent e95e7f9af5
commit 3770ab99a8
1 file changed
-3
-3
View File
@@ -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.