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 /vm_sync.c | |
parent | 79f9f8326a34e499bb2d84d8282943188b1131bd (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 'vm_sync.c')
-rw-r--r-- | vm_sync.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -76,11 +76,11 @@ vm_lock_enter(rb_ractor_t *cr, rb_vm_t *vm, bool locked, bool no_barrier, unsign VM_ASSERT(rb_ractor_status_p(cr, ractor_blocking)); if (vm_barrier_finish_p(vm)) { - RUBY_DEBUG_LOG("wakeup barrier owner", 0); + RUBY_DEBUG_LOG("wakeup barrier owner"); rb_native_cond_signal(&vm->ractor.sync.barrier_cond); } else { - RUBY_DEBUG_LOG("wait for barrier finish", 0); + RUBY_DEBUG_LOG("wait for barrier finish"); } // wait for restart @@ -91,7 +91,7 @@ vm_lock_enter(rb_ractor_t *cr, rb_vm_t *vm, bool locked, bool no_barrier, unsign vm->ractor.sync.lock_owner = cr; } - RUBY_DEBUG_LOG("barrier is released. Acquire vm_lock", 0); + RUBY_DEBUG_LOG("barrier is released. Acquire vm_lock"); if (running) { rb_vm_ractor_blocking_cnt_dec(vm, cr, __FILE__, __LINE__); |