From cdb920ab084451c8395dea605d96d2bad277ce61 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Thu, 8 Aug 2019 17:18:45 -0400 Subject: get rid of shadow variables Summary: gl: add some EINA_FALLTHROUGH Reviewers: #reviewers, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9525 --- src/lib/eo/eo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/eo/eo.c') diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index e2aed3c..a5efc38 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -3632,13 +3632,13 @@ static const Efl_Object_Property_Reflection* _efl_class_reflection_find(const _Efl_Class *klass, const char *property_name) { const _Efl_Class **klass_iter = klass->extensions; - const Efl_Object_Property_Reflection_Ops *ref = klass->reflection; + const Efl_Object_Property_Reflection_Ops *ref_ops = klass->reflection; unsigned int i; - for (i = 0; ref && i < ref->count; ++i) + for (i = 0; ref_ops && i < ref_ops->count; ++i) { - if (eina_streq(property_name, ref->table[i].property_name)) - return &ref->table[i]; + if (eina_streq(property_name, ref_ops->table[i].property_name)) + return &ref_ops->table[i]; } if (klass->parent) -- cgit v1.1