summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index a8e721707c..b8c8c36684 100644
--- a/gc.c
+++ b/gc.c
@@ -1989,7 +1989,6 @@ before_gc_sweep(rb_objspace_t *objspace)
static void
after_gc_sweep(rb_objspace_t *objspace)
{
- rb_thread_t *th = GET_THREAD();
GC_PROF_SET_MALLOC_INFO;
if (objspace->heap.free_num < objspace->heap.free_min) {