summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-20 18:09:36 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-20 18:09:36 +0000
commit8d42481e9497d26d7666bb32b599a0c6283aed2c (patch)
tree3a41a4be654ba69271c09b55e14a072dbabaa97c /gc.c
parent548896c927f653429aeea143217ba110620d67e1 (diff)
get rid of unused variable warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 6ab41e6943..7518754ae5 100644
--- a/gc.c
+++ b/gc.c
@@ -3797,7 +3797,7 @@ gc_sweep(rb_objspace_t *objspace)
#endif
}
else {
- struct heap_page *page;
+ struct heap_page *page = NULL;
gc_sweep_start(objspace);
list_for_each(&heap_eden->pages, page, page_node) {