X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a116bae7ed3d2ffa22b151422a667d510c29d263..f89bb4bc494cb511098326ec3f18adbe0739bf26:/src/mc/compare.cpp diff --git a/src/mc/compare.cpp b/src/mc/compare.cpp index 57f0ec7bae..bbec79b588 100644 --- a/src/mc/compare.cpp +++ b/src/mc/compare.cpp @@ -976,11 +976,10 @@ static bool heap_area_differ(const RemoteProcess& process, StateComparator& stat return true; /* Start comparison */ - bool differ = type ? heap_area_differ_with_type(process, state, area1, area2, snapshot1, snapshot2, previous, type, - size, check_ignore, pointer_level) - : heap_area_differ_without_type(process, state, area1, area2, snapshot1, snapshot2, previous, size, - check_ignore); - if (differ) + if (type ? heap_area_differ_with_type(process, state, area1, area2, snapshot1, snapshot2, previous, type, size, + check_ignore, pointer_level) + : heap_area_differ_without_type(process, state, area1, area2, snapshot1, snapshot2, previous, size, + check_ignore)) return true; if (match_pairs)