summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ruby.c b/ruby.c
index 3fd0f75ada..0e43503f3c 100644
--- a/ruby.c
+++ b/ruby.c
@@ -479,9 +479,7 @@ require_libraries(VALUE *req_list)
VALUE self = rb_vm_top_self();
ID require;
rb_thread_t *th = GET_THREAD();
- rb_block_t *prev_base_block = th->base_block;
int prev_parse_in_eval = th->parse_in_eval;
- th->base_block = 0;
th->parse_in_eval = 0;
Init_ext(); /* should be called here for some reason :-( */
@@ -493,7 +491,6 @@ require_libraries(VALUE *req_list)
*req_list = 0;
th->parse_in_eval = prev_parse_in_eval;
- th->base_block = prev_base_block;
}
static rb_env_t*