summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-04-19 22:02:10 +0900
committerNobuyoshi Nakada <[email protected]>2025-04-19 22:02:10 +0900
commitc218862d3c664b4afff5acce55d7a6eb13779809 ()
treec5dde0ff7443236a9846f95ffffcbb36547e0411 /vm_method.c
parentd6d4e6877c9670b871ba44b9ca8bece033d17f22 (diff)
Fix style [ci skip]
-rw-r--r--vm_method.c6
1 files changed, 4 insertions, 2 deletions
@@ -361,7 +361,8 @@ vm_ci_hash_cmp(VALUE v1, VALUE v2)
return 1;
}
}
- } else {
VM_ASSERT(ci2->kwarg == NULL); // implied by matching flags
}
return 0;
@@ -382,7 +383,8 @@ ci_lookup_i(st_data_t *key, st_data_t *value, st_data_t data, int existing)
if (rb_objspace_garbage_object_p((VALUE)ci)) {
*ret = (st_data_t)NULL;
return ST_DELETE;
- } else {
*ret = *key;
return ST_STOP;
}