eo: fix to remove unreachable loop

This commit is contained in:
Jaehyun Cho 2019-02-18 13:24:27 +09:00
parent 69b3009c25
commit f02b82a49e
1 changed files with 2 additions and 4 deletions

View File

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