uv-unix: remove unused variable 'iov'
This commit is contained in:
parent
e89f54ece4
commit
5020134568
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user