summaryrefslogtreecommitdiff
path: root/legacy/eina
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-05-04 16:26:29 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-05-04 16:26:29 +0000
commitbb85e11b50d21dbcfe4933c14bdeeb18e58d999b (patch)
tree0ab45746dfd2eae038166e1fbe25c25b7934c795 /legacy/eina
parent7041c968bfc0b8ced49a26227286aae2adb073ef (diff)
* eina: don't shadow global variable.
SVN revision: 48614
Diffstat (limited to 'legacy/eina')
-rw-r--r--legacy/eina/src/lib/eina_quadtree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/eina/src/lib/eina_quadtree.c b/legacy/eina/src/lib/eina_quadtree.c
index c73af992a6..3514a2c2b5 100644
--- a/legacy/eina/src/lib/eina_quadtree.c
+++ b/legacy/eina/src/lib/eina_quadtree.c
@@ -741,16 +741,16 @@ eina_quadtree_hide(Eina_QuadTree_Item *object)
741EAPI Eina_Bool 741EAPI Eina_Bool
742eina_quadtree_show(Eina_QuadTree_Item *object) 742eina_quadtree_show(Eina_QuadTree_Item *object)
743{ 743{
744 size_t index; 744 size_t tmp;
745 745
746 EINA_MAGIC_CHECK_QUADTREE_ITEM(object, EINA_FALSE); 746 EINA_MAGIC_CHECK_QUADTREE_ITEM(object, EINA_FALSE);
747 747
748 index = object->quad->index++; 748 tmp = object->quad->index++;
749 if (object->index == index 749 if (object->index == tmp
750 && object->visible) 750 && object->visible)
751 return EINA_TRUE; 751 return EINA_TRUE;
752 752
753 object->index = index; 753 object->index = tmp;
754 if (object->root) 754 if (object->root)
755 object->root->sorted = EINA_FALSE; 755 object->root->sorted = EINA_FALSE;
756 object->quad->lost = EINA_TRUE; 756 object->quad->lost = EINA_TRUE;