diff options
Diffstat (limited to 'src/node_messaging.cc')
-rw-r--r-- | src/node_messaging.cc | 2 |
1 files changed, 0 insertions, 2 deletions
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<Value>& 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<Value>& args) { } void MessagePort::Stop(const FunctionCallbackInfo<Value>& args) { - Environment* env = Environment::GetCurrent(args); MessagePort* port; CHECK(args[0]->IsObject()); ASSIGN_OR_RETURN_UNWRAP(&port, args[0].As<Object>()); |