summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c4
1 files changed, 1 insertions, 3 deletions
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)) {