summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-28 13:09:58 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-28 13:09:58 +0000
commit477187defdaad6e059260613f9a7eaa08d433470 (patch)
tree8486fd9f2fe613d6891843071ad9ec1ce527c028 /dir.c
parentd8322d404fc92eaf0c0b64b1099282bc1f0195cd (diff)
* dir.c, eval.c, hash.c, process.c, ruby.c: avoid warning "unused
variable" [ruby-dev:26387] (patch from Kazuhiro NISHIYAMA) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index cb8e326..183ea05 100644
--- a/dir.c
+++ b/dir.c
@@ -1332,7 +1332,6 @@ static VALUE
dir_open_dir(path)
VALUE path;
{
- struct dir_data *dp;
VALUE dir = rb_funcall(rb_cDir, rb_intern("open"), 1, path);
if (TYPE(dir) != T_DATA ||