aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-19 03:57:53 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-19 03:57:53 +0000
commit64295f089bdd35b9b97745bc1a9934db5f6d37e7 (patch)
tree53cea5acf868a03642806a79f5ec3fe8d90d33af /gc.c
parent961f6ce8f457f61de6560f5e6970146b21ab2474 (diff)
downloadruby-64295f089bdd35b9b97745bc1a9934db5f6d37e7.tar.gz
ruby_gc_debug_indent needed only when RUBY_MARK_FREE_DEBUG
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 7541575ec9..5812a8789e 100644
--- a/gc.c
+++ b/gc.c
@@ -826,7 +826,9 @@ struct RZombie {
#define nomem_error GET_VM()->special_exceptions[ruby_error_nomemory]
+#if RUBY_MARK_FREE_DEBUG
int ruby_gc_debug_indent = 0;
+#endif
VALUE rb_mGC;
int ruby_disable_gc = 0;