summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-19 04:11:19 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-19 04:11:19 +0000
commitf0e9fa3cb12a9f9a14b5b77d872bce8cc027b829 (patch)
tree3ee0a015f3842b38f545323b6b0342cca2f6fad3 /gc.c
parent55e6e9e3848433ccb095b352545bb97b0fb21603 (diff)
* gc.c (gc_clear_mark_on_sweep_slots): remove a unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index 3e0cb3e192..c810100ee7 100644
--- a/gc.c
+++ b/gc.c
@@ -2622,8 +2622,6 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th)
static void
gc_clear_mark_on_sweep_slots(rb_objspace_t *objspace)
{
- struct heaps_slot *scan;
-
if (objspace->heap.sweep_slots) {
while (heaps_increment(objspace));
while (objspace->heap.sweep_slots) {