From 3753f9cd7694df7b1f4687e4e31422952c88e0e4 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 11 Mar 2019 12:33:49 -0400 Subject: src: remove unused variables These were causing compilation warnings. PR-URL: https://github.com/nodejs/node/pull/26590 Reviewed-By: Richard Lau Reviewed-By: Yuta Hiroto Reviewed-By: Refael Ackermann --- src/node_messaging.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/node_messaging.cc') diff --git a/src/node_messaging.cc b/src/node_messaging.cc index 21e0191c12..4fda880c1c 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()); -- cgit v1.2.3