diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-02 06:42:03 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-02 06:42:03 +0000 |
commit | 13af45c0d69734c753732433e6715f9bed77cef0 (patch) | |
tree | c1b983e8a234061dbd79078c20213416f841b2b4 | |
parent | 54983030de546edb2547e33d03d0611ddb407e4a (diff) | |
download | ruby-13af45c0d69734c753732433e6715f9bed77cef0.tar.gz |
fix uninitialized variable
Likewise this can easily be noticed if you read the warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | eval_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c index 646e55ffb3..0d3e8b3662 100644 --- a/eval_error.c +++ b/eval_error.c @@ -220,7 +220,7 @@ void rb_ec_error_print(rb_execution_context_t * volatile ec, volatile VALUE errinfo) { volatile int raised_flag = ec->raised_flag; - volatile VALUE errat; + volatile VALUE errat = Qundef; if (NIL_P(errinfo)) return; |