aboutsummaryrefslogtreecommitdiffstats
path: root/eval_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
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;