diff --git a/src/uv-unix.c b/src/uv-unix.c index bfdeedce..e73f2951 100644 --- a/src/uv-unix.c +++ b/src/uv-unix.c @@ -813,7 +813,6 @@ static void uv__write_callbacks(uv_stream_t* stream) { static void uv__read(uv_stream_t* stream) { uv_buf_t buf; - struct iovec* iov; ssize_t nread; /* XXX: Maybe instead of having UV_READING we just test if @@ -826,8 +825,6 @@ static void uv__read(uv_stream_t* stream) { assert(buf.len > 0); assert(buf.base); - iov = (struct iovec*) &buf; - do { nread = read(stream->fd, buf.base, buf.len); }