Skip to content

Commit

Permalink
src: remove unused warning in node_contextify
Browse files Browse the repository at this point in the history
PR-URL: #16408
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
  • Loading branch information
targos committed Oct 26, 2017
1 parent a37a0ad commit f0b871b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/node_contextify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit f0b871b

Please sign in to comment.