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
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 targos committed Jul 31, 2018
1 parent 2f3a28d commit e0336b2
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 @@ -3849,7 +3849,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 e0336b2

Please sign in to comment.