diff options
author | cjihrig <cjihrig@gmail.com> | 2019-03-11 12:33:49 -0400 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-03-12 06:27:12 +0100 |
commit | 3753f9cd7694df7b1f4687e4e31422952c88e0e4 (patch) | |
tree | bca28eb33cff3b242778af49218f43365c520d16 /src/node_messaging.cc | |
parent | b1dce4cfe784344bc012cc4403dc52fb659ff8f4 (diff) | |
download | android-node-v8-3753f9cd7694df7b1f4687e4e31422952c88e0e4.tar.gz android-node-v8-3753f9cd7694df7b1f4687e4e31422952c88e0e4.tar.bz2 android-node-v8-3753f9cd7694df7b1f4687e4e31422952c88e0e4.zip |
src: remove unused variables
These were causing compilation warnings.
PR-URL: https://github.com/nodejs/node/pull/26590
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Refael Ackermann <refack@gmail.com>
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>()); |