From 583ac005306d3eab67133d1301bfd5001745ffa6 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 19 Dec 2017 15:20:28 +0100 Subject: [PATCH] [SMPI] Declare loop variable within the loop. Compilers will get this. --- src/smpi/mpi/smpi_comm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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