jaehyun pushed a commit to branch master.

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

commit f02b82a49e12c0d02bb3f438046e1ceb93d1643b
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Mon Feb 18 13:24:27 2019 +0900

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

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

-- 


Reply via email to