summaryrefslogtreecommitdiff
path: root/src/node_http2.cc
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-03-02 21:36:00 +0800
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-03-06 10:04:58 +0100
commit3770ab99a8a976542a9ecb90ab2e24393e0d642d (patch)
tree8327f3cff260c4845e6d1ff1ab13b36ba56c49eb /src/node_http2.cc
parente95e7f9af540c88e93701ff6ca2f38986deb8e99 (diff)
downloadandroid-node-v8-3770ab99a8a976542a9ecb90ab2e24393e0d642d.tar.gz
android-node-v8-3770ab99a8a976542a9ecb90ab2e24393e0d642d.tar.bz2
android-node-v8-3770ab99a8a976542a9ecb90ab2e24393e0d642d.zip
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>
Diffstat (limited to 'src/node_http2.cc')
-rw-r--r--src/node_http2.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_http2.cc b/src/node_http2.cc
index 52566186cf..1857eb78b2 100644
--- a/src/node_http2.cc
+++ b/src/node_http2.cc
@@ -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.