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
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
  • Loading branch information
cjihrig authored and targos committed Jul 3, 2018
1 parent 1d73ba8 commit c870372
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 @@ -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;
};
Expand Down

0 comments on commit c870372

Please sign in to comment.