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 <gabriel.schulhof@intel.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
  • Loading branch information
cjihrig authored and rvagg committed Feb 28, 2019
1 parent 759a018 commit c5a11dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_api.cc
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 c5a11dc

Please sign in to comment.