From a3726c028d08c033c22f47693a45195b69d0b648 Mon Sep 17 00:00:00 2001 From: jinroq Date: Tue, 30 Apr 2024 20:48:49 +0900 Subject: [PATCH] Fixed missing support for https://github.com/ruby/ruby/commit/d75bbba255e086d625429d5a1311cc4b4396c296. --- prism_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prism_compile.c b/prism_compile.c index f883224f2dc850..48f7528235867b 100644 --- a/prism_compile.c +++ b/prism_compile.c @@ -5140,7 +5140,7 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, else { // Establish branch coverage for the case node. VALUE branches = Qfalse; - rb_code_location_t case_location; + rb_code_location_t case_location = { 0 }; int branch_id = 0; if (PM_BRANCH_COVERAGE_P(iseq)) {