From 3093617c0e73303ffc1cad4bb15f6526d73d0458 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 1 Mar 2019 18:20:12 -0500 Subject: [PATCH] src: remove unused variable PR-URL: https://github.com/nodejs/node/pull/26386 Reviewed-By: Richard Lau Reviewed-By: James M Snell --- src/node_report_module.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_report_module.cc b/src/node_report_module.cc index 31974f25104046..cf17db62db235b 100644 --- a/src/node_report_module.cc +++ b/src/node_report_module.cc @@ -204,7 +204,7 @@ static void Initialize(Local exports, Local unused, Local context) { Environment* env = Environment::GetCurrent(context); - std::shared_ptr options = env->isolate_data()->options(); + env->SetMethod(exports, "triggerReport", TriggerReport); env->SetMethod(exports, "getReport", GetReport); env->SetMethod(exports, "syncConfig", SyncConfig);