10000 fix uninitialized variable · github/ruby@a108ce8 · GitHub
[go: up one dir, main page]

Skip to content

Commit a108ce8

Browse files
committed
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
1 parent 8941d4b commit a108ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval_error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void
220220
rb_ec_error_print(rb_execution_context_t * volatile ec, volatile VALUE errinfo)
221221
{
222222
volatile int raised_flag = ec->raised_flag;
223-
volatile VALUE errat;
223+
volatile VALUE errat = Qundef;
224224

225225
if (NIL_P(errinfo))
226226
return;

0 commit comments

Comments
 (0)
0