aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 1b152cb8ea..8efc6cdb9c 100644
--- a/vm.c
+++ b/vm.c
@@ -1381,6 +1381,7 @@ static void
vm_init2(rb_vm_t *vm)
{
MEMZERO(vm, rb_vm_t, 1);
+ vm->src_encoding_index = -1;
}
/* Thread */