mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 10:03:59 +02:00
gc.c: Remove no-op code
In this context, `vm_locked` is a argument variable, and is not used later in the function.
This commit is contained in:
parent
3fb455adab
commit
c7e35e5534
Notes:
git
2025-02-10 19:21:27 +00:00
1 changed files with 0 additions and 1 deletions
|
@ -2404,7 +2404,6 @@ newobj_cache_miss(rb_objspace_t *objspace, rb_ractor_newobj_cache_t *cache, size
|
|||
|
||||
if (!vm_locked) {
|
||||
lev = rb_gc_cr_lock();
|
||||
vm_locked = true;
|
||||
unlock_vm = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue