From 654f4d433887f0d470426747f0e4136fe83950dc Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sat, 2 Mar 2019 21:36:00 +0800 Subject: [PATCH] src: remove unused variable in node_http2.cc PR-URL: https://github.com/nodejs/node/pull/26395 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- src/node_http2.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/node_http2.cc b/src/node_http2.cc index da37b1d5256329..fecde4f5227088 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -1283,9 +1283,6 @@ void Http2Session::HandleHeadersFrame(const nghttp2_frame* frame) { std::vector headers(stream->move_headers()); - Local name_str; - Local 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.