From 5f696156e097a1e66cb0c5c2a7cf62b38fd97605 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 27 Dec 2012 01:29:01 +0000 Subject: read_write: remove unused variable --- ext/kgio/read_write.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/kgio/read_write.c b/ext/kgio/read_write.c index cbc4799..4ce3541 100644 --- a/ext/kgio/read_write.c +++ b/ext/kgio/read_write.c @@ -494,7 +494,6 @@ static ssize_t custom_writev(int fd, const struct iovec *vec, unsigned int iov_c static void prepare_writev(struct io_args_v *a, VALUE io, VALUE ary) { - long vec_cnt; a->io = io; a->fd = my_fileno(io); a->something_written = 0; -- cgit v1.2.3-24-ge0c7