summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--gc.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e1084dd550..c31af988c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Feb 19 13:08:34 2012 Narihiro Nakamura <authornari@gmail.com>
+
+ * gc.c (gc_clear_mark_on_sweep_slots): remove a unused variable.
+
Sun Feb 19 11:53:35 2012 Narihiro Nakamura <authornari@gmail.com>
* gc.c (gc_clear_mark_on_sweep_slots): uses slot_sweep() for
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) {