diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-05-26 20:04:17 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-05-30 00:12:49 +0200 |
commit | 448adaa4563fb035c5fccfe4a9a0cc74b5ca5ba0 (patch) | |
tree | 16c59ba2097f4862ff677e3da10588d830788e3f /src/udp_wrap.cc | |
parent | 4d68daea0f3b092743a7793748f684c2827d6210 (diff) | |
download | node-new-448adaa4563fb035c5fccfe4a9a0cc74b5ca5ba0.tar.gz |
src: simplify HandleWrap initialization
Diffstat (limited to 'src/udp_wrap.cc')
-rw-r--r-- | src/udp_wrap.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index f014a62cc6..b463a75c83 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -69,7 +69,6 @@ UDPWrap::UDPWrap(Handle<Object> object) : HandleWrap(object, reinterpret_cast<uv_handle_t*>(&handle_)) { int r = uv_udp_init(uv_default_loop(), &handle_); assert(r == 0); // can't fail anyway - handle_.data = reinterpret_cast<void*>(this); } |