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: nodejs#26395
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
gengjiawen authored and BridgeAR committed Mar 12, 2019
1 parent 4796c7c commit 0c4e019
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 0c4e019

Please sign in to comment.