Skip to content

Commit

Permalink
src: remove unused variables
Browse files Browse the repository at this point in the history
These were causing compilation warnings.

PR-URL: #26590
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
cjihrig authored and BridgeAR committed Mar 14, 2019
1 parent cccd3a3 commit 9768ec4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/node_messaging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_) {
Expand All @@ -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>());
Expand Down

0 comments on commit 9768ec4

Please sign in to comment.