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
@ -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…
x
Reference in New Issue
Block a user