X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/58ea59660df7ff5af144848bd7e5bc7d8b66bf37..7d18220729378bc55a4b8ccc298d80e03263f3f0:/teshsuite/smpi/mpich3-test/coll/red_scat_block.c diff --git a/teshsuite/smpi/mpich3-test/coll/red_scat_block.c b/teshsuite/smpi/mpich3-test/coll/red_scat_block.c index 3092c8d5a2..7891cb6efc 100644 --- a/teshsuite/smpi/mpich3-test/coll/red_scat_block.c +++ b/teshsuite/smpi/mpich3-test/coll/red_scat_block.c @@ -20,9 +20,12 @@ int main(int argc, char **argv) { int err = 0; - int toterr, size, rank, i, sumval; + int toterr, size, rank; +#if MTEST_HAVE_MIN_MPI_VERSION(2,2) + int i, sumval; int *sendbuf; int *recvbuf; +#endif MPI_Comm comm; MPI_Init(&argc, &argv);