summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-05 14:31:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-05 14:31:12 +0000
commitb6b4c7cbb4581b8ce505e775a46531d33a6b3df6 (patch)
treeb436efb483fa758785b44676330160edeef80a16 /compile.c
parent9cbb4dde74f854b0cfcdb48b1ce0604894c83665 (diff)
compile.c: initialize to suppress false warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index a122f6bfa5..060bd765d2 100644
--- a/compile.c
+++ b/compile.c
@@ -5913,7 +5913,7 @@ qcall_branch_start(rb_iseq_t *iseq, LINK_ANCHOR *const recv, VALUE *branches, co
LABEL *else_label = NEW_LABEL(line);
const int first_lineno = nd_first_lineno(node), first_column = nd_first_column(node);
const int last_lineno = nd_last_lineno(node), last_column = nd_last_column(node);
- VALUE br;
+ VALUE br = 0;
DECL_BRANCH_BASE(br, first_lineno, first_column, last_lineno, last_column, "&.");
*branches = br;