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 <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • 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.