Skip to content

Commit

Permalink
src: fix may be uninitialized warning in n-api
Browse files Browse the repository at this point in the history
Backport-PR-URL: #25002
PR-URL: #21898
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
mhdawson authored and MylesBorins committed Jan 18, 2019
1 parent 7b68d89 commit c275534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3749,7 +3749,7 @@ class TsFn: public node::AsyncResource {
}

void DispatchOne() {
void* data;
void* data = nullptr;
bool popped_value = false;
bool idle_stop_failed = false;

Expand Down

0 comments on commit c275534

Please sign in to comment.