From dcbfdf5cba52846dbad9477ab47764ef70904c32 Mon Sep 17 00:00:00 2001 From: devilhorns Date: Fri, 27 May 2011 01:17:15 +0000 Subject: [PATCH] Evas: Fix shadow declaration of variable 'index'. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59711 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_object_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/canvas/evas_object_table.c b/src/lib/canvas/evas_object_table.c index e92aefa..20b6a2d 100644 --- a/src/lib/canvas/evas_object_table.c +++ b/src/lib/canvas/evas_object_table.c @@ -138,11 +138,11 @@ _evas_object_table_iterator_free(Evas_Object_Table_Iterator *it) } static Eina_Bool -_evas_object_table_accessor_get_at(Evas_Object_Table_Accessor *it, unsigned int index, void **data) +_evas_object_table_accessor_get_at(Evas_Object_Table_Accessor *it, unsigned int idx, void **data) { Evas_Object_Table_Option *opt = NULL; - if (!eina_accessor_data_get(it->real_accessor, index, (void **)&opt)) + if (!eina_accessor_data_get(it->real_accessor, idx, (void **)&opt)) return EINA_FALSE; if (data) *data = opt->obj; return EINA_TRUE; -- 2.7.4