aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-18 16:05:57 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-18 16:05:57 +0000
commit20d2ecafa30f84e13242a2cf221d24bb8be5e7ed (patch)
tree9d02ab4ce3858c91d42fe24a639cee1eb6cfdc5e
parentd8892979334d88c19dddd18c6717b69766d4888e (diff)
downloadruby-20d2ecafa30f84e13242a2cf221d24bb8be5e7ed.tar.gz
fix preivous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
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;