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 BridgeAR committed Mar 14, 2019
1 parent 02faa1a commit 654f4d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/node_http2.cc
Original file line number Diff line number Diff line change
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 654f4d4

Please sign in to comment.