summaryrefslogtreecommitdiff
path: root/vm_exec.c
diff options
context:
space:
mode:
-rw-r--r--vm_exec.c2
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ vm_exec_core(rb_execution_context_t *ec, VALUE initial)
}
}
- if ((th = rb_ec_thread_ptr(ec))->retval != Qundef) {
VALUE ret = th->retval;
th->retval = Qundef;
return ret;