aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-21 13:53:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-21 13:53:25 +0000
commit3176a634ca125bbb176333997c3c0c77932dc3a1 (patch)
tree3d18da13c1144cbdc6615780bb7d7deea90d30e2 /iseq.c
parent51c4ffa45b03262ddc183b815dba07462ef0a29f (diff)
downloadruby-3176a634ca125bbb176333997c3c0c77932dc3a1.tar.gz
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
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
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("<compiled>");
- VALUE parser = rb_parser_new();
+ const INITIALIZED VALUE parser = rb_parser_new();
rb_parser_mild_error(parser);
th->base_block = base_block;