From c5a11dc58e48775dc3c510fed7fc858d54bcbd3a Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 29 Jun 2018 19:52:46 -0400 Subject: [PATCH] n-api: fix compiler warning private field 'async_context' is not used [-Wunused-private-field] PR-URL: https://github.com/nodejs/node/pull/21597 Refs: https://github.com/nodejs/node/pull/17887 Backport-PR-URL: https://github.com/nodejs/node/pull/25002 Reviewed-By: Gabriel Schulhof Reviewed-By: Daniel Bevenius --- src/node_api.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node_api.cc b/src/node_api.cc index 20fb2f8c9a0af8..e9d30eeef6454e 100644 --- a/src/node_api.cc +++ b/src/node_api.cc @@ -3920,7 +3920,6 @@ class TsFn: public node::AsyncResource { void* finalize_data; napi_finalize finalize_cb; bool idle_running; - napi_async_context async_context; napi_threadsafe_function_call_js call_js_cb; bool handles_closing; };