summaryrefslogtreecommitdiff
path: root/src/cares_wrap.cc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-07-07 14:34:49 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-07-07 14:34:49 +0200
commit6acde2152fa5cc33ed87825c85ee59bdafd94cf7 (patch)
tree8b3656d4f8fe1b531dc5bdb1fb0762583132f2ac /src/cares_wrap.cc
parent636ca7c68412f667a72328bbe1e110d99b58a690 (diff)
downloadnode-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.cc2
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;