From 50201345685d12b4b67d061d9b74a46d5f2ce886 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 15 Aug 2011 03:21:56 +0200 Subject: [PATCH] uv-unix: remove unused variable 'iov' --- src/uv-unix.c | 3 --- 1 file changed, 3 deletions(-) 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); }