X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cc63d7b267be4c20633a0be7db63b3d88030bee6..7842bd614301712801b9f2b4a117824333cd3e16:/teshsuite/smpi/mpich3-test/comm/dup_with_info.c diff --git a/teshsuite/smpi/mpich3-test/comm/dup_with_info.c b/teshsuite/smpi/mpich3-test/comm/dup_with_info.c index c0472c0b4c..bda2214fc7 100644 --- a/teshsuite/smpi/mpich3-test/comm/dup_with_info.c +++ b/teshsuite/smpi/mpich3-test/comm/dup_with_info.c @@ -7,7 +7,7 @@ #include "mpi.h" #include #include "mpitest.h" -int run_tests(MPI_Comm comm); + int run_tests(MPI_Comm comm) { int rank, size, wrank, wsize, dest, a, b, errs = 0; @@ -28,6 +28,7 @@ int run_tests(MPI_Comm comm) MPI_Barrier(comm); /* Can we communicate with this new communicator? */ + dest = MPI_PROC_NULL; if (rank == 0) { dest = size - 1; a = rank;