Skip to content

Commit

Permalink
n-api: fix compiler warning
Browse files Browse the repository at this point in the history
private field 'async_context' is not used [-Wunused-private-field]

PR-URL: #21597
Refs: #17887
Backport-PR-URL: #25002
Reviewed-By: Gabriel Schulhof <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
  • Loading branch information
cjihrig authored and MylesBorins committed Jan 18, 2019
1 parent 64f232c commit ca8ba15
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit ca8ba15

Please sign in to comment.