uv-unix: remove unused variable 'iov'

This commit is contained in:
Ben Noordhuis 2011-08-15 03:21:56 +02:00
parent e89f54ece4
commit 5020134568

View File

@ -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);
}