From 1d279ac26943fff43f5b7f22c59fad6f097c1254 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 3 Mar 2019 16:46:23 +0800 Subject: [PATCH] src: remove unused variable in node_native_module.cc PR-URL: https://github.com/nodejs/node/pull/26411 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Ruben Bridgewater --- src/node_native_module.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node_native_module.cc b/src/node_native_module.cc index df7e1749e52ea8..33df8c0aa8e590 100644 --- a/src/node_native_module.cc +++ b/src/node_native_module.cc @@ -191,7 +191,6 @@ MaybeLocal NativeModuleLoader::LookupAndCompile( Environment* optional_env) { Isolate* isolate = context->GetIsolate(); EscapableHandleScope scope(isolate); - Local ret; // Used to convert to MaybeLocal before return const auto source_it = source_.find(id); CHECK_NE(source_it, source_.end());