diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-07 14:34:49 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-07 14:34:49 +0200 |
commit | 6acde2152fa5cc33ed87825c85ee59bdafd94cf7 (patch) | |
tree | 8b3656d4f8fe1b531dc5bdb1fb0762583132f2ac /src/cares_wrap.cc | |
parent | 636ca7c68412f667a72328bbe1e110d99b58a690 (diff) | |
download | node-new-6acde2152fa5cc33ed87825c85ee59bdafd94cf7.tar.gz |
src: remove unnecessary calls to Local<T>::New()
Diffstat (limited to 'src/cares_wrap.cc')
-rw-r--r-- | src/cares_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc index f7c67e2d5b..2617ce5097 100644 --- a/src/cares_wrap.cc +++ b/src/cares_wrap.cc @@ -797,7 +797,7 @@ void AfterGetAddrInfo(uv_getaddrinfo_t* req, int status, struct addrinfo* res) { if (status) { // Error SetErrno(uv_last_error(uv_default_loop())); - argv[0] = Local<Value>::New(node_isolate, Null(node_isolate)); + argv[0] = Null(node_isolate); } else { // Success struct addrinfo *address; |