From: Arnaud Giersch Date: Mon, 28 Apr 2014 22:10:00 +0000 (+0200) Subject: Remove redundant test. X-Git-Tag: v3_11~98^2~25 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/156df478fec05131317179a0147670b04f1e6493?ds=inline Remove redundant test. --- diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index b7880c89d4..d17f4bd9f6 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -480,9 +480,7 @@ void smpi_global_destroy(void) xbt_free(process_data); process_data = NULL; - if(index_to_process_data){ - xbt_free(index_to_process_data); - } + xbt_free(index_to_process_data); if(smpi_privatize_global_variables) smpi_destroy_global_memory_segments(); smpi_free_static();