From d12741ce98bf96ac53f2c593eea08869c9b2f1ac Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 18 Aug 2008 16:05:57 +0000 Subject: fix preivous change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index de5e6cf13..ad0cb3f7a 100644 --- a/io.c +++ b/io.c @@ -4456,7 +4456,7 @@ io_set_encoding(VALUE io, VALUE opt) static VALUE rb_open_file(int argc, VALUE *argv, VALUE io) { - VALUE opt, fname, vmode, perm; + VALUE opt=Qnil, fname, vmode, perm; const char *mode; int flags; unsigned int fmode; -- cgit