From d4abe2fc6143bf2d059bbe366e6306a1d933b66c 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 31974f25104..cf17db62db2 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);