summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io.c b/io.c
index defdecd7d9..dab1d945f9 100644
--- a/io.c
+++ b/io.c
@@ -2096,8 +2096,7 @@ rb_io_writev(VALUE io, int argc, const VALUE *argv)
do rb_io_write(io, *argv++); while (--argc);
- /* unused right now */
- return argv[0];
+ return Qnil;
}
return rb_funcallv(io, id_write, argc, argv);