From a27b0a35bde63e8dd03ca591b1cdfbc8cb6ca994 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 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 c32e63ea2331ba..2b14617175c167 100644 --- a/src/node_api.cc +++ b/src/node_api.cc @@ -3883,7 +3883,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; };