diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-03-03 11:46:23 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-06 02:08:16 +0300 |
commit | e96ac8434a037e3795af713d2153e13381206f2d (patch) | |
tree | 99399b6cc5f6a0bdf4cdfffb8184545eef640e30 /src/node_native_module.cc | |
parent | 6e3b2164746b2a33d976afd02409056af92f8744 (diff) |
src: remove unused variable in node_native_module.cc
PR-URL: https://github.com/nodejs/node/pull/26411
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_native_module.cc')
-rw-r--r-- | src/node_native_module.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_native_module.cc b/src/node_native_module.cc index df7e1749e52..33df8c0aa8e 100644 --- a/src/node_native_module.cc +++ b/src/node_native_module.cc @@ -191,7 +191,6 @@ MaybeLocal<Function> NativeModuleLoader::LookupAndCompile( Environment* optional_env) { Isolate* isolate = context->GetIsolate(); EscapableHandleScope scope(isolate); - Local<Value> ret; // Used to convert to MaybeLocal before return const auto source_it = source_.find(id); CHECK_NE(source_it, source_.end()); |