summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinroq <jinroq@users.noreply.github.com>2024-04-30 20:48:49 +0900
committerKevin Newton <kddnewton@gmail.com>2024-05-02 05:36:14 -0400
commita3726c028d08c033c22f47693a45195b69d0b648 (patch)
tree624f78774639562ef681f2d6a34869a9cd8a92f2
parent55720f372d65aaa14bf6925730f0c715f0179dc5 (diff)
Fixed missing support for https://github.com/ruby/ruby/commit/d75bbba255e086d625429d5a1311cc4b4396c296.
-rw-r--r--prism_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism_compile.c b/prism_compile.c
index f883224f2d..48f7528235 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)) {