summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-11 00:50:29 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-11 00:50:29 +0000
commit34996e23efc17063c369ca0435c51d98f496f225 (patch)
tree931e94f77848977831ea115bf76497f1d388361b /iseq.c
parentb5ff6f11b52ef381e4fcbe90618e75a1a5321395 (diff)
Suppress warning: 'iseqval' may be used uninitialized in this function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37137 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 fa83d1b670..792f401bde 100644
--- a/iseq.c
+++ b/iseq.c
@@ -581,7 +581,7 @@ rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE absolute_path, VALUE li
int state;
rb_thread_t *th = GET_THREAD();
rb_block_t *prev_base_block = th->base_block;
- VALUE iseqval;
+ VALUE iseqval = Qundef;
th->base_block = base_block;