jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0e5ce0e9b4da1735834d6c3ef5941c943a8ec115

commit 0e5ce0e9b4da1735834d6c3ef5941c943a8ec115
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Fri Feb 22 19:01:09 2019 +0900

    Revert "eo: fix to remove unreachable loop"
    
    This reverts commit f02b82a49e12c0d02bb3f438046e1ceb93d1643b.
---
 src/lib/eo/eo.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 9d70bc3e83..76bebef023 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -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;
 }

-- 


Reply via email to