mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove unnecessary assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
325d378a1f
commit
2ce807e895
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ search_method(VALUE klass, ID id, VALUE *defined_class_ptr)
|
|||
{
|
||||
rb_method_entry_t *me;
|
||||
|
||||
for (me = 0; klass; klass = RCLASS_SUPER(klass)) {
|
||||
for (; klass; klass = RCLASS_SUPER(klass)) {
|
||||
RB_DEBUG_COUNTER_INC(mc_search_super);
|
||||
if ((me = lookup_method_table(klass, id)) != 0) break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue