diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-09-28 18:00:03 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-20 07:48:30 +0900 |
commit | 9b18f1bffe056f9f3e0c37b7c847ecb3ca942307 (patch) | |
tree | 00bbd2e4c54894fb78a9dfac354d42741c7cc297 /transient_heap.c | |
parent | 79f9f8326a34e499bb2d84d8282943188b1131bd (diff) | |
download | ruby-9b18f1bffe056f9f3e0c37b7c847ecb3ca942307.tar.gz |
Supress `warning: data argument not used by format string [-Wformat-extra-args]`
Diffstat (limited to 'transient_heap.c')
-rw-r--r-- | transient_heap.c | 4 |
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(); |