From afb18596001cdb5fcf6c72055650a66abc74179b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 10 Aug 2011 23:12:45 +0200 Subject: [PATCH] uv-unix: remove dead code --- src/uv-unix.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/uv-unix.c b/src/uv-unix.c index 48357016..38e80935 100644 --- a/src/uv-unix.c +++ b/src/uv-unix.c @@ -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; }