Skip to content

Commit 8db5a0b

Browse files
committed
n-api: investigate if breakage is from nodejs#12246
1 parent 14749f9 commit 8db5a0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_api.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/******************************************************************************
1+
/******************************************************************************
22
* Experimental prototype for demonstrating VM agnostic and ABI stable API
33
* for native modules to use instead of using Nan and V8 APIs directly.
44
*
@@ -2162,7 +2162,7 @@ napi_status napi_instanceof(napi_env env,
21622162

21632163
if (env->has_instance_available) {
21642164
napi_value value, js_result, has_instance = nullptr;
2165-
napi_status status;
2165+
napi_status status = napi_ok;
21662166
napi_valuetype value_type;
21672167

21682168
// Get "Symbol" from the global object

0 commit comments

Comments
 (0)