From: Arnaud Giersch Date: Mon, 9 Apr 2018 12:08:57 +0000 (+0200) Subject: Remove redundant assignment (value enforced by previous call to xbt_assert). X-Git-Tag: v3.20~484 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b7bf3526754f5cb2cc6f1f25200c72d30a03aa36 Remove redundant assignment (value enforced by previous call to xbt_assert). --- diff --git a/src/smpi/internals/smpi_shared.cpp b/src/smpi/internals/smpi_shared.cpp index b01de8f34c..bc42b781a3 100644 --- a/src/smpi/internals/smpi_shared.cpp +++ b/src/smpi/internals/smpi_shared.cpp @@ -198,7 +198,6 @@ void* smpi_shared_malloc_partial(size_t size, size_t* shared_block_offsets, int #ifndef MAP_HUGETLB /* If the system header don't define that mmap flag */ xbt_assert(not use_huge_page, "Huge pages are not available on your system, you cannot use the smpi/shared-malloc-hugepage option."); - use_huge_page = 0; #endif smpi_shared_malloc_blocksize = static_cast(xbt_cfg_get_double("smpi/shared-malloc-blocksize")); void* mem;