From c722f8ad1d6bdf3b18ec8141751b0f8c9e6f6913 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 21 May 2015 11:52:21 +0000 Subject: fix indent git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index 0627466965..5e1932bfc9 100644 --- a/proc.c +++ b/proc.c @@ -371,12 +371,12 @@ get_local_variable_ptr(VALUE envval, ID lid) iseq = env->block.iseq; if (RUBY_VM_NORMAL_ISEQ_P(iseq)) { - for (i=0; ilocal_table_size; i++) { - if (iseq->local_table[i] == lid) { - return &env->env[i]; + for (i=0; ilocal_table_size; i++) { + if (iseq->local_table[i] == lid) { + return &env->env[i]; + } } } - } else { return NULL; } @@ -2531,7 +2531,7 @@ proc_binding(VALUE self) } else { rb_raise(rb_eArgError, "Can't create Binding from C level Proc"); - } + } } bindval = rb_binding_alloc(rb_cBinding); -- cgit v1.2.3