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
This commit is contained in:
shyouhei 2018-01-02 06:42:03 +00:00
parent 54983030de
commit 13af45c0d6

View File

@ -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;