uv-unix: remove dead code

This commit is contained in:
Ben Noordhuis 2011-08-10 23:12:45 +02:00
parent 06623d15f2
commit afb1859600

View File

@ -985,10 +985,6 @@ static int uv__connect(uv_connect_t* req,
if (stream->fd <= 0) {
if ((sockfd = uv__socket(addr->sa_family, SOCK_STREAM, 0)) == -1) {
}
if (sockfd < 0) {
uv_err_new((uv_handle_t*)stream, errno);
return -1;
}