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 <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • 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.