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:
parent
214e2f93aa
commit
e970ab3339
1 changed files with 2 additions and 0 deletions
2
gc.c
2
gc.c
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue