summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index eec29b395f..44ff86b47d 100644
--- a/thread.c
+++ b/thread.c
@@ -485,7 +485,6 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s
}
else {
errinfo = th->errinfo;
- if (NIL_P(errinfo)) errinfo = rb_errinfo();
if (state == TAG_FATAL) {
/* fatal error within this thread, need to stop whole script */
}