1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Suppress unused-but-set-variable warning

This commit is contained in:
Nobuyoshi Nakada 2019-05-15 23:17:18 +09:00
parent 214e2f93aa
commit e970ab3339
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

2
gc.c
View file

@ -8269,6 +8269,8 @@ gc_verify_compaction_references(int argc, VALUE *argv, VALUE mod)
moved_list = RANY(moved_list)->as.moved.next;
poison_object(current);
}
#else
(void)moved_list;
#endif
/* GC after compaction to eliminate T_MOVED */