From 23178d10444f256af67c15deb4a5e16811135723 Mon Sep 17 00:00:00 2001 From: tmm1 Date: Wed, 27 Nov 2013 06:24:37 +0000 Subject: * gc.c (gc_page_sweep): Fix compile warning from last commit. * hash.c (hash_aset_str): Re-use existing variable to avoid unnecessary pointer dereferencing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gc.c') diff --git a/gc.c b/gc.c index 290849479b..12ef935849 100644 --- a/gc.c +++ b/gc.c @@ -2745,7 +2745,7 @@ gc_page_sweep(rb_objspace_t *objspace, rb_heap_t *heap, struct heap_page *sweep_ if (0) fprintf(stderr, "gc_page_sweep(%d): freed?: %d, limt: %d, freed_slots: %d, empty_slots: %d, final_slots: %d\n", (int)rb_gc_count(), final_slots + freed_slots + empty_slots == sweep_page->limit, - (int)sweep_page->limit, (int)freed_slots, (int)empty_slots, final_slots); + (int)sweep_page->limit, (int)freed_slots, (int)empty_slots, (int)final_slots); if (heap_pages_deferred_final && !finalizing) { rb_thread_t *th = GET_THREAD(); -- cgit v1.2.3