From ecd2522ed8eedfea7b6b725eada65bb640f337a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 23 Oct 2017 14:59:04 +0200 Subject: [PATCH] src: remove unused warning in node_contextify --- src/node_contextify.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node_contextify.cc b/src/node_contextify.cc index 5239c411500431..fbc04ba0c07ae9 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -440,7 +440,8 @@ class ContextifyContext { desc_for_sandbox->set_configurable(desc.configurable()); } // Set the property on the sandbox. - sandbox->DefineProperty(context, property, *desc_for_sandbox); + sandbox->DefineProperty(context, property, *desc_for_sandbox) + .FromJust(); }; if (desc.has_get() || desc.has_set()) {