From: Jaehyun Cho Date: Fri, 22 Feb 2019 07:45:06 +0000 (+0900) Subject: Revert "eo: fix to remove unreachable loop" X-Git-Tag: submit/tizen/20190225.055416~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=284a0a1e1e3e9839d40ba9e1845e01982ad93789;p=platform%2Fupstream%2Fefl.git Revert "eo: fix to remove unreachable loop" This reverts commit 86ea8f993dd576a8bbf1911d615a0720707df2c5. Change-Id: I98f2da824e5ffca010dad149b9571c24be92a9cb --- diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index d9a5e02..5e4e456 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -3621,8 +3621,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; }