summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index b0b20d19a..7885c7c81 100644
--- a/gc.c
+++ b/gc.c
@@ -1785,7 +1785,7 @@ run_final(obj)
{
long i;
int status, critical_save = rb_thread_critical;
- VALUE args[3], table;
+ VALUE args[3], table, objid;
objid = rb_obj_id(obj); /* make obj into id */
rb_thread_critical = Qtrue;