summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/vm.c b/vm.c
index 3b478d848a..76041b0b91 100644
--- a/vm.c
+++ b/vm.c
@@ -3275,10 +3275,6 @@ th_init(rb_thread_t *th, VALUE self, rb_vm_t *vm)
th->top_self = vm->top_self; // 0 while self == 0
th->value = Qundef;
-#if defined(NON_SCALAR_THREAD_ID) && !defined(__wasm__) && !defined(__EMSCRIPTEN__)
- th->nt->thread_id_string[0] = '\0';
-#endif
-
th->ec->errinfo = Qnil;
th->ec->root_svar = Qfalse;
th->ec->local_storage_recursive_hash = Qnil;