summaryrefslogtreecommitdiff
path: root/src/node_report_module.cc
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-03-01 18:20:12 -0500
committercjihrig <cjihrig@gmail.com>2019-03-03 19:26:09 -0500
commitd4abe2fc6143bf2d059bbe366e6306a1d933b66c (patch)
tree41438115d6bf93fb679fa64c1bbb914745f3d345 /src/node_report_module.cc
parentb271b0315a2ecec3cd1aae0c5556a31f5911dcec (diff)
downloadandroid-node-v8-d4abe2fc6143bf2d059bbe366e6306a1d933b66c.tar.gz
android-node-v8-d4abe2fc6143bf2d059bbe366e6306a1d933b66c.tar.bz2
android-node-v8-d4abe2fc6143bf2d059bbe366e6306a1d933b66c.zip
src: remove unused variable
PR-URL: https://github.com/nodejs/node/pull/26386 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_report_module.cc')
-rw-r--r--src/node_report_module.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_report_module.cc b/src/node_report_module.cc
index 31974f2510..cf17db62db 100644
--- a/src/node_report_module.cc
+++ b/src/node_report_module.cc
@@ -204,7 +204,7 @@ static void Initialize(Local<Object> exports,
Local<Value> unused,
Local<Context> context) {
Environment* env = Environment::GetCurrent(context);
- std::shared_ptr<PerIsolateOptions> options = env->isolate_data()->options();
+
env->SetMethod(exports, "triggerReport", TriggerReport);
env->SetMethod(exports, "getReport", GetReport);
env->SetMethod(exports, "syncConfig", SyncConfig);