diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2017-02-06 16:33:36 +0300 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2017-02-09 16:56:30 +0300 |
commit | 6af0bfe1a0006511325bf17bf36da6f36721d10e (patch) | |
tree | 7ac0fcb09bade68954fd3529e5eb3d2cc85571fe /benchmark/url | |
parent | 039a813ff059c0787b9f4902f342914cd30a2845 (diff) |
src: fix -Wunused-result compiler warning
Fix a warning that was introduced in commit 67af1ad ("src: refactor
CopyProperties to remove JS") from a few days ago. This particular
change was suggested by me, mea culpa.
Fixes the following warning:
../src/node_contextify.cc:151:13: warning: ignoring return
value of function declared with warn_unused_result attribute
[-Wunused-result]
sandbox_obj->DefineProperty(context, key, *desc);
PR-URL: https://github.com/nodejs/node/pull/11197
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'benchmark/url')
0 files changed, 0 insertions, 0 deletions