diff --git a/src/node_http2.cc b/src/node_http2.cc index 20b634f90fc00d..552903059abce5 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -1291,7 +1291,6 @@ void Http2Session::HandleHeadersFrame(const nghttp2_frame* frame) { Local name_str; Local value_str; - Local holder = Array::New(isolate); // 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. diff --git a/src/node_process.cc b/src/node_process.cc index 161833ebbd3843..017d8d0073ac83 100644 --- a/src/node_process.cc +++ b/src/node_process.cc @@ -796,7 +796,6 @@ void GetParentProcessId(Local property, void GetActiveRequests(const FunctionCallbackInfo& args) { Environment* env = Environment::GetCurrent(args); - Local ary = Array::New(args.GetIsolate()); std::vector> request_v; for (auto w : *env->req_wrap_queue()) { if (w->persistent().IsEmpty())