summaryrefslogtreecommitdiff
path: root/src/node_native_module.cc
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-03-03 16:46:23 +0800
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-06 00:08:16 +0100
commite96ac8434a037e3795af713d2153e13381206f2d (patch)
tree99399b6cc5f6a0bdf4cdfffb8184545eef640e30 /src/node_native_module.cc
parent6e3b2164746b2a33d976afd02409056af92f8744 (diff)
downloadandroid-node-v8-e96ac8434a037e3795af713d2153e13381206f2d.tar.gz
android-node-v8-e96ac8434a037e3795af713d2153e13381206f2d.tar.bz2
android-node-v8-e96ac8434a037e3795af713d2153e13381206f2d.zip
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.cc1
1 files changed, 0 insertions, 1 deletions
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<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());