ruby-changes:42143
From: nobu <ko1@a...>
Date: Mon, 21 Mar 2016 22:53:30 +0900 (JST)
Subject: [ruby-changes:42143] nobu:r54217 (trunk): suppress warning
nobu 2016-03-21 22:53:25 +0900 (Mon, 21 Mar 2016) New Revision: 54217 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54217 Log: suppress warning * iseq.c (rb_iseq_compile_with_option): suppress maybe-uninitialized warning by gcc 4.8. Modified files: trunk/iseq.c Index: iseq.c =================================================================== --- iseq.c (revision 54216) +++ iseq.c (revision 54217) @@ -627,7 +627,7 @@ rb_iseq_compile_with_option(VALUE src, V https://github.com/ruby/ruby/blob/trunk/iseq.c#L627 const INITIALIZED VALUE label = parent ? parent->body->location.label : rb_fstring_cstr("<compiled>"); - VALUE parser = rb_parser_new(); + const INITIALIZED VALUE parser = rb_parser_new(); rb_parser_mild_error(parser); th->base_block = base_block; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/