From 13af45c0d69734c753732433e6715f9bed77cef0 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Tue, 2 Jan 2018 06:42:03 +0000 Subject: [PATCH] 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 --- eval_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;