summaryrefslogtreecommitdiff
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 e52327a5e9..04b8b4a802 100644
--- a/gc.c
+++ b/gc.c
@@ -1771,7 +1771,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;