Skip to content

Commit

Permalink
WIP surpress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Oct 10, 2023
1 parent 09c4394 commit b214a3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thread_pthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,7 @@ thread_sched_switch(rb_thread_t *cth, rb_thread_t *next_th)
thread_sched_switch0(cth->sched.context, next_th, nt);
}

#if VM_CHECK_MODE > 0
RBIMPL_ATTR_MAYBE_UNUSED()
static unsigned int
grq_size(rb_vm_t *vm, rb_ractor_t *cr)
Expand All @@ -1138,6 +1139,7 @@ grq_size(rb_vm_t *vm, rb_ractor_t *cr)
}
return i;
}
#endif

static void
ractor_sched_enq(rb_vm_t *vm, rb_ractor_t *r)
Expand Down

0 comments on commit b214a3c

Please sign in to comment.