X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f87ae84420eaf8aafec6b3462c188c6b2fb76c6b..873bf1e1e1e844397bb532a80deee528563bc006:/src/mc/mc_diff.c diff --git a/src/mc/mc_diff.c b/src/mc/mc_diff.c index 5f66c883a6..2adc6415a0 100644 --- a/src/mc/mc_diff.c +++ b/src/mc/mc_diff.c @@ -434,17 +434,11 @@ void reset_heap_information() } -int mmalloc_compare_heap(mc_snapshot_t snapshot1, mc_snapshot_t snapshot2, - xbt_mheap_t heap1, xbt_mheap_t heap2) +int mmalloc_compare_heap(mc_snapshot_t snapshot1, mc_snapshot_t snapshot2) { struct s_mc_diff *state = mc_diff_info; - if (heap1 == NULL && heap2 == NULL) { - XBT_DEBUG("Malloc descriptors null"); - return 0; - } - /* Start comparison */ size_t i1, i2, j1, j2, k; void *addr_block1, *addr_block2, *addr_frag1, *addr_frag2;