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 rvagg committed Feb 28, 2019
1 parent 3675059 commit 67b6e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_api.cc
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 67b6e0d

Please sign in to comment.