From a0e134da3e7856fccb4dd705f228856c9145ba62 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 11 Mar 2019 12:33:49 -0400 Subject: [PATCH] src: remove unused variables These were causing compilation warnings. --- src/node_messaging.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/node_messaging.cc b/src/node_messaging.cc index 21e0191c12a425..4fda880c1c3a0e 100644 --- a/src/node_messaging.cc +++ b/src/node_messaging.cc @@ -725,7 +725,6 @@ void MessagePort::Stop() { } void MessagePort::Start(const FunctionCallbackInfo& args) { - Environment* env = Environment::GetCurrent(args); MessagePort* port; ASSIGN_OR_RETURN_UNWRAP(&port, args.This()); if (!port->data_) { @@ -735,7 +734,6 @@ void MessagePort::Start(const FunctionCallbackInfo& args) { } void MessagePort::Stop(const FunctionCallbackInfo& args) { - Environment* env = Environment::GetCurrent(args); MessagePort* port; CHECK(args[0]->IsObject()); ASSIGN_OR_RETURN_UNWRAP(&port, args[0].As());