From e96ac8434a037e3795af713d2153e13381206f2d Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 3 Mar 2019 16:46:23 +0800 Subject: 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(-) (limited to 'src/node_native_module.cc') diff --git a/src/node_native_module.cc b/src/node_native_module.cc index df7e1749e5..33df8c0aa8 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()); -- cgit v1.2.3