Skip to content

Commit c870372

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

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
@@ -3883,7 +3883,6 @@ class TsFn: public node::AsyncResource {
38833883
void* finalize_data;
38843884
napi_finalize finalize_cb;
38853885
bool idle_running;
3886-
napi_async_context async_context;
38873886
napi_threadsafe_function_call_js call_js_cb;
38883887
bool handles_closing;
38893888
};

0 commit comments

Comments
 (0)