summaryrefslogtreecommitdiffstats
path: root/io.c
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
commitd12741ce98bf96ac53f2c593eea08869c9b2f1ac (patch)
tree9d02ab4ce3858c91d42fe24a639cee1eb6cfdc5e /io.c
parent6f02881c9a8a39e38d9d3ceacb3fade89a9bc967 (diff)
downloadruby-d12741ce98bf96ac53f2c593eea08869c9b2f1ac.tar.gz
ruby-d12741ce98bf96ac53f2c593eea08869c9b2f1ac.tar.xz
ruby-d12741ce98bf96ac53f2c593eea08869c9b2f1ac.zip
fix preivous change.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
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;