From 7cd45622214362994a0b8f50bb23454cca27e67c Mon Sep 17 00:00:00 2001 From: caro Date: Mon, 14 Nov 2011 21:37:25 +0000 Subject: [PATCH] Eina: Fix warning Patch by Fabien Romano git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@65201 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_inlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/eina_inlist.c b/src/lib/eina_inlist.c index 89a93a2..445a8ee 100644 --- a/src/lib/eina_inlist.c +++ b/src/lib/eina_inlist.c @@ -500,7 +500,7 @@ eina_inlist_sorted_state_free(Eina_Inlist_Sorted_State *state) static void _eina_inlist_sorted_state_insert(Eina_Inlist_Sorted_State *state, - unsigned short index, + unsigned short idx, int offset) { Eina_Inlist *last; @@ -509,10 +509,10 @@ _eina_inlist_sorted_state_insert(Eina_Inlist_Sorted_State *state, state->inserted++; - if (offset != 0) index++; - for (; index < state->jump_limit; index++) + if (offset != 0) idx++; + for (; idx < state->jump_limit; idx++) { - state->jump_table[index] = state->jump_table[index]->prev; + state->jump_table[idx] = state->jump_table[idx]->prev; } start = state->jump_limit - 3; -- 2.7.4