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 committed Jul 2, 2018
1 parent 2ae4524 commit a27b0a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_api.cc
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 a27b0a3

Please sign in to comment.