Skip to content

Commit 9768ec4

Browse files
cjihrigBridgeAR
authored andcommitted
src: remove unused variables
These were causing compilation warnings. PR-URL: #26590 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent cccd3a3 commit 9768ec4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: src/node_messaging.cc

-2
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,6 @@ void MessagePort::Stop() {
725725
}
726726

727727
void MessagePort::Start(const FunctionCallbackInfo<Value>& args) {
728-
Environment* env = Environment::GetCurrent(args);
729728
MessagePort* port;
730729
ASSIGN_OR_RETURN_UNWRAP(&port, args.This());
731730
if (!port->data_) {
@@ -735,7 +734,6 @@ void MessagePort::Start(const FunctionCallbackInfo<Value>& args) {
735734
}
736735

737736
void MessagePort::Stop(const FunctionCallbackInfo<Value>& args) {
738-
Environment* env = Environment::GetCurrent(args);
739737
MessagePort* port;
740738
CHECK(args[0]->IsObject());
741739
ASSIGN_OR_RETURN_UNWRAP(&port, args[0].As<Object>());

0 commit comments

Comments
 (0)