From: Christian Heinrich Date: Tue, 19 Dec 2017 14:20:28 +0000 (+0100) Subject: [SMPI] Declare loop variable within the loop. X-Git-Tag: v3.19~353 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/583ac005306d3eab67133d1301bfd5001745ffa6 [SMPI] Declare loop variable within the loop. Compilers will get this. --- diff --git a/src/smpi/mpi/smpi_comm.cpp b/src/smpi/mpi/smpi_comm.cpp index cf85f3aca0..9efc299921 100644 --- a/src/smpi/mpi/smpi_comm.cpp +++ b/src/smpi/mpi/smpi_comm.cpp @@ -344,11 +344,10 @@ void Comm::init_smp(){ }else{ delete[] leaders_map; } - int j=0; int leader_group_size = 0; for(i=0; i