diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-21 11:52:21 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-21 11:52:21 +0000 |
commit | be5ab58a717e2739b723c083e44226d942e0cb57 (patch) | |
tree | 36024fb99954e787adfbefea4c6c56658485026e /proc.c | |
parent | 31aad6820f5d0e0111d5b246eb680abe5d490ccc (diff) | |
download | ruby-be5ab58a717e2739b723c083e44226d942e0cb57.tar.gz |
fix indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; i<iseq->local_table_size; i++) { - if (iseq->local_table[i] == lid) { - return &env->env[i]; + for (i=0; i<iseq->local_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); |