Skip to content

Commit

Permalink
src: remove unused variable in node_http2.cc
Browse files Browse the repository at this point in the history
PR-URL: #26395
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
gengjiawen authored and danbev committed Mar 6, 2019
1 parent e95e7f9 commit 3770ab9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/node_http2.cc
Expand Up @@ -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.
Expand Down

0 comments on commit 3770ab9

Please sign in to comment.