From a9ed9190d34637342d6036c0b570eae109ed1e25 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 3 Nov 2025 18:09:12 +0900 Subject: [PATCH] class.c: combine variable declaration with initialization --- src/class.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/class.c b/src/class.c index 6830bf608..2e1a053b4 100644 --- a/src/class.c +++ b/src/class.c @@ -2736,18 +2736,14 @@ mod_attr_define(mrb_state *mrb, mrb_value mod, mrb_value (*accessor)(mrb_state*, int ai = mrb_gc_arena_save(mrb); for (int i=0; i