diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-15 23:17:18 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-15 23:17:18 +0900 |
commit | e970ab3339109b89b4251887e39412af20348156 (patch) | |
tree | 21d38a8efae2d66fa7bf089ec515885118defdec /gc.c | |
parent | 214e2f93aa6b0810353b67f320dab6aa63a97169 (diff) | |
download | ruby-e970ab3339109b89b4251887e39412af20348156.tar.gz |
Suppress unused-but-set-variable warning
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |