about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ext/kgio/read_write.c1
1 files changed, 0 insertions, 1 deletions
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;