etc.c: combine variable declaration with initialization

This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-11-03 08:08:17 +09:00
parent b592d02d63
commit b99233bc45
+1 -1
View File
@@ -239,8 +239,8 @@ mrb_word_boxing_value_float(mrb_value v)
MRB_API mrb_value
mrb_word_boxing_cptr_value(mrb_state *mrb, void *p)
{
mrb_value v;
struct RCptr *cptr = MRB_OBJ_ALLOC(mrb, MRB_TT_CPTR, mrb->object_class);
mrb_value v;
SET_OBJ_VALUE(v, cptr);
cptr->p = p;