diff options
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1796,6 +1796,10 @@ th_init(rb_thread_t *th, VALUE self) th->errinfo = Qnil; th->last_status = Qnil; th->waiting_fd = -1; + +#if OPT_CALL_THREADED_CODE + th->retval = Qundef; +#endif } static VALUE |