diff --git a/vm_eval.c b/vm_eval.c index 783bbfe3b5..b4efcdb162 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -1164,7 +1164,6 @@ eval_string_with_cref(VALUE self, VALUE src, VALUE scope, NODE *cref, const char int state; VALUE result = Qundef; VALUE envval; - rb_binding_t *bind = 0; rb_thread_t *th = GET_THREAD(); rb_env_t *env = NULL; rb_block_t block, *base_block; @@ -1180,6 +1179,7 @@ eval_string_with_cref(VALUE self, VALUE src, VALUE scope, NODE *cref, const char mild_compile_error = th->mild_compile_error; TH_PUSH_TAG(th); if ((state = TH_EXEC_TAG()) == 0) { + rb_binding_t *bind = 0; rb_iseq_t *iseq; volatile VALUE iseqval;