Revert "eo: fix to remove unreachable loop"

This reverts commit f02b82a49e.
This commit is contained in:
Jaehyun Cho 2019-02-22 19:01:09 +09:00
parent 71c390e6a2
commit 0e5ce0e9b4
1 changed files with 4 additions and 2 deletions

View File

@ -3628,8 +3628,10 @@ _efl_class_reflection_find(const _Efl_Class *klass, const char *property_name)
if (ref) return ref;
}
if (*klass_iter)
return _efl_class_reflection_find(*klass_iter, property_name);
for (; *klass_iter; klass_iter++)
{
return _efl_class_reflection_find(*klass_iter, property_name);
}
return NULL;
}