X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3aa62b6a4755ba871847a5f86473c0e651c9d661..ed26e84f533a3dc510abdc384aee02506ab9798b:/src/smpi/smpi_win.cpp diff --git a/src/smpi/smpi_win.cpp b/src/smpi/smpi_win.cpp index f5e573dfb8..080f51916a 100644 --- a/src/smpi/smpi_win.cpp +++ b/src/smpi/smpi_win.cpp @@ -408,8 +408,9 @@ int Win::complete(){ int Win::wait(){ //naive, blocking implementation. XBT_DEBUG("Entering MPI_Win_Wait"); - int i=0,j=0; - int size = group_->size(); + int i = 0; + int j = 0; + int size = group_->size(); MPI_Request* reqs = xbt_new0(MPI_Request, size); while(j!=size){