From: Arnaud Giersch Date: Mon, 7 Oct 2013 12:20:18 +0000 (+0200) Subject: Value stored to 'size' is never read. X-Git-Tag: v3_9_90~38^2~23 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b0cbe916a7fd50fb43efd6951b62898f9e7c1ffa Value stored to 'size' is never read. --- diff --git a/teshsuite/xbt/mmalloc_test.c b/teshsuite/xbt/mmalloc_test.c index cc70aa6ee4..7c1864b341 100644 --- a/teshsuite/xbt/mmalloc_test.c +++ b/teshsuite/xbt/mmalloc_test.c @@ -38,7 +38,6 @@ int main(int argc, char**argv) } XBT_INFO("All blocks were correctly allocated. Free every second block"); for (i = 0; i < TESTSIZE; i+=2) { - size = size_of_block(i); mfree(heapA,pointers[i]); } XBT_INFO("Memset every second block to zero (yeah, they are not currently allocated :)");