Skip to content

Commit c5a11dc

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

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)