From 20d2ecafa30f84e13242a2cf221d24bb8be5e7ed Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 18 Aug 2008 16:05:57 +0000 Subject: [PATCH] fix preivous change. git-svn-id: svn+ssh://ci.ruby-lang.org/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 de5e6cf136..ad0cb3f7a5 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;