cleanup: remove a dead increment

As pointed out by clang-analyzer.

PR-URL: https://github.com/libuv/libuv/pull/13
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
Maciej Małecki 2014-09-27 00:46:24 +02:00 committed by Ben Noordhuis
parent f86cd02a94
commit f87657ee08

View File

@ -182,10 +182,8 @@ int uv_getaddrinfo(uv_loop_t* loop,
len += service_len;
}
if (hostname) {
if (hostname)
req->hostname = memcpy(buf + len, hostname, hostname_len);
len += hostname_len;
}
uv__work_submit(loop,
&req->work_req,