From cc00be6aceac5eb8bb135c32da99eaf217b29a24 Mon Sep 17 00:00:00 2001 From: Santiago Gimeno Date: Sun, 4 Sep 2016 23:01:43 +0200 Subject: [PATCH] src: fix -Wunused-result warning PR-URL: https://github.com/nodejs/node/pull/8450 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Ben Noordhuis Reviewed-By: Franziska Hinkelmann Reviewed-By: Colin Ihrig --- src/node_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_util.cc b/src/node_util.cc index 92eed3a9aec5ec..cfbd2501706173 100644 --- a/src/node_util.cc +++ b/src/node_util.cc @@ -132,7 +132,7 @@ void Initialize(Local 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)