Skip to content
Permalink
Browse files

src: fix may be uninitialized warning in n-api

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 Jul 19, 2018
1 parent 3675059 commit 67b6e0d19ca2ca1fd0705f22730f1fd018568b5c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/node_api.cc
@@ -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;

0 comments on commit 67b6e0d

Please sign in to comment.
You can’t perform that action at this time.