From 3176a634ca125bbb176333997c3c0c77932dc3a1 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 21 Mar 2016 13:53:25 +0000 Subject: suppress warning * iseq.c (rb_iseq_compile_with_option): suppress maybe-uninitialized warning by gcc 4.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iseq.c b/iseq.c index 7f187b84a1..1f868f7759 100644 --- a/iseq.c +++ b/iseq.c @@ -627,7 +627,7 @@ rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE absolute_path, VALUE li const INITIALIZED VALUE label = parent ? parent->body->location.label : rb_fstring_cstr(""); - VALUE parser = rb_parser_new(); + const INITIALIZED VALUE parser = rb_parser_new(); rb_parser_mild_error(parser); th->base_block = base_block; -- cgit v1.2.3