Supress warning: data argument not used by format string [-Wformat-extra-args]

This commit is contained in:
Kazuhiro NISHIYAMA 2021-09-28 18:00:03 +09:00 committed by Nobuyoshi Nakada
parent 79f9f8326a
commit 9b18f1bffe
Notes: git 2021-10-20 07:48:49 +09:00
4 changed files with 16 additions and 16 deletions

View file

@ -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__);