summaryrefslogtreecommitdiff
path: root/transient_heap.c
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2021-09-28 18:00:03 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-20 07:48:30 +0900
commit9b18f1bffe056f9f3e0c37b7c847ecb3ca942307 (patch)
tree00bbd2e4c54894fb78a9dfac354d42741c7cc297 /transient_heap.c
parent79f9f8326a34e499bb2d84d8282943188b1131bd (diff)
Supress `warning: data argument not used by format string [-Wformat-extra-args]`
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4903
Diffstat (limited to 'transient_heap.c')
-rw-r--r--transient_heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/transient_heap.c b/transient_heap.c
index 5b6fd89889..d2cf8e4bd9 100644
--- a/transient_heap.c
+++ b/transient_heap.c
@@ -825,7 +825,7 @@ transient_heap_evacuate(void *dmy)
transient_heap_update_status(theap, transient_heap_none);
}
if (gc_disabled != Qtrue) rb_gc_enable();
- RUBY_DEBUG_LOG("finish", 0);
+ RUBY_DEBUG_LOG("finish");
}
}
@@ -962,7 +962,7 @@ void
rb_transient_heap_finish_marking(void)
{
ASSERT_vm_locking();
- RUBY_DEBUG_LOG("", 0);
+ RUBY_DEBUG_LOG("");
struct transient_heap* theap = transient_heap_get();