windows: remove redundant code in uv_tcp_write

The overlapped structure is reset twice, it is non necessary.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
HungMingWu 2014-05-21 22:59:26 +08:00 committed by Fedor Indutny
parent e002340e50
commit 6d56e6e132

View File

@ -810,7 +810,6 @@ int uv_tcp_write(uv_loop_t* loop,
req->type = UV_WRITE;
req->handle = (uv_stream_t*) handle;
req->cb = cb;
memset(&req->overlapped, 0, sizeof(req->overlapped));
/* Prepare the overlapped structure. */
memset(&(req->overlapped), 0, sizeof(req->overlapped));