Skip to content

Commit

Permalink
src: fix -Wunused-result warning
Browse files Browse the repository at this point in the history
PR-URL: #8450
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
santigimeno committed Sep 9, 2016
1 parent b90f3da commit cc00be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void Initialize(Local<Object> target,
#define V(name, _) \
target->Set(context, \
FIXED_ONE_BYTE_STRING(env->isolate(), #name), \
Integer::NewFromUnsigned(env->isolate(), index++));
Integer::NewFromUnsigned(env->isolate(), index++)).FromJust();
{
uint32_t index = 0;
PER_ISOLATE_PRIVATE_SYMBOL_PROPERTIES(V)
Expand Down

0 comments on commit cc00be6

Please sign in to comment.