ruby-changes:54510
From: nobu <ko1@a...>
Date: Sat, 5 Jan 2019 23:31:16 +0900 (JST)
Subject: [ruby-changes:54510] nobu:r66725 (trunk): compile.c: initialize to suppress false warning.
nobu 2019-01-05 23:31:12 +0900 (Sat, 05 Jan 2019) New Revision: 66725 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66725 Log: compile.c: initialize to suppress false warning. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 66724) +++ compile.c (revision 66725) @@ -5913,7 +5913,7 @@ qcall_branch_start(rb_iseq_t *iseq, LINK https://github.com/ruby/ruby/blob/trunk/compile.c#L5913 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/