Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
[squash] undoing compiler warning change
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarnung committed Mar 12, 2018
1 parent 3e87a86 commit f330ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_api_jsrt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ static napi_status SetErrorCode(JsValueRef error,
CHECK_JSRT(JsHasProperty(error, namePropId, &hasProp));

JsValueRef nameValue = JS_INVALID_REFERENCE;
std::array<JsValueRef, 2> args = {{ nameArray, JS_INVALID_REFERENCE }};
std::array<JsValueRef, 2> args = { nameArray, JS_INVALID_REFERENCE };

if (hasProp) {
CHECK_JSRT(JsGetProperty(error, namePropId, &nameValue));
Expand Down

0 comments on commit f330ae3

Please sign in to comment.