Skip to content

Commit b285f1d

Browse files
cjihrigGabriel Schulhof
authored and
Gabriel Schulhof
committed
n-api: fix compiler warning
private field 'async_context' is not used [-Wunused-private-field] PR-URL: nodejs#21597 Refs: nodejs#17887 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
1 parent 2e15372 commit b285f1d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_api.cc

-1
Original file line numberDiff line numberDiff line change
@@ -3920,7 +3920,6 @@ class TsFn: public node::AsyncResource {
39203920
void* finalize_data;
39213921
napi_finalize finalize_cb;
39223922
bool idle_running;
3923-
napi_async_context async_context;
39243923
napi_threadsafe_function_call_js call_js_cb;
39253924
bool handles_closing;
39263925
};

0 commit comments

Comments
 (0)