raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=0f21e4cfa74c2c9a5edc57c2cfedfdc39d4bb120
commit 0f21e4cfa74c2c9a5edc57c2cfedfdc39d4bb120 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Sun Dec 1 13:52:53 2013 +0900 eina - fix set-but-unused warning in eina_cow when valgrind off --- src/lib/eina/eina_cow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c index 2b1a3e5..73a65e5 100644 --- a/src/lib/eina/eina_cow.c +++ b/src/lib/eina/eina_cow.c @@ -604,7 +604,9 @@ eina_cow_gc(Eina_Cow *cow) Eina_Cow_GC *gc; Eina_Iterator *it; Eina_Bool r; +#ifndef NVALGRIND Eina_Cow_Ptr *ref; +#endif EINA_COW_MAGIC_CHECK(cow); @@ -617,10 +619,10 @@ eina_cow_gc(Eina_Cow *cow) if (!r) return EINA_FALSE; /* Something did go wrong here */ +#ifndef NVALGRIND /* Do handle hash and all funky merge thing here */ ref = gc->ref; -#ifndef NVALGRIND VALGRIND_MAKE_MEM_DEFINED(ref, sizeof (*ref)); #endif _eina_cow_gc(cow, gc); --