From 5dd2b7102c42cd31a0fec424addbdeaeefb235ac Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 24 Jul 2003 18:33:50 +0000 Subject: * gcc -Wall clean-up. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- variable.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index 76c0939c46..63a1461b62 100644 --- a/variable.c +++ b/variable.c @@ -1136,8 +1136,6 @@ static struct st_table * check_autoload_table(av) VALUE av; { - struct st_table *tbl; - Check_Type(av, T_DATA); if (RDATA(av)->dmark != (RUBY_DATA_FUNC)rb_mark_tbl || RDATA(av)->dfree != (RUBY_DATA_FUNC)st_free_table) { @@ -1210,7 +1208,7 @@ rb_autoload_load(klass, id) VALUE klass; ID id; { - VALUE file, value; + VALUE file; file = autoload_delete(klass, id); if (NIL_P(file)) { -- cgit v1.2.3