ami pushed a commit to branch master.

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

commit 373e6a09183b4be984ad9220b75bf97da1df8745
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Tue Sep 5 16:20:43 2017 +0900

    eina: fix compilation after b0rking in c9a0237770a7fb
    
    Ref T5966
---
 src/modules/eina/mp/chained_pool/eina_chained_mempool.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c 
b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index 5913f87d76..7ab6954c7f 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -379,7 +379,7 @@ eina_chained_mempool_from(void *data, void *ptr)
    Chained_Pool *p;
    Eina_Trash *t;
 #ifndef NVALGRIND
-   Eina_Trash *last;
+   Eina_Trash *last = NULL;
 #endif
    void *pmem;
    Eina_Bool ret = EINA_FALSE;
@@ -423,7 +423,7 @@ eina_chained_mempool_from(void *data, void *ptr)
      }
 
    // Check if the pointer was freed
-   for (t = p->base, last = NULL; t != NULL; t = t->next)
+   for (t = p->base; t != NULL; t = t->next)
      {
 #ifndef NVALGRIND
         VALGRIND_MAKE_MEM_DEFINED(t, pool->item_alloc);

-- 


Reply via email to