X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dccf1b41e9c7b5a696f01abceaa2779fe65f154f..4c973838831fbfc14675fd437af1e8b060cb8a3a:/teshsuite/smpi/type-hvector/type-hvector.c diff --git a/teshsuite/smpi/type-hvector/type-hvector.c b/teshsuite/smpi/type-hvector/type-hvector.c index 14f7ae39cc..30b6ea82ca 100644 --- a/teshsuite/smpi/type-hvector/type-hvector.c +++ b/teshsuite/smpi/type-hvector/type-hvector.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2014. The SimGrid Team. +/* Copyright (c) 2012-2019. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -9,7 +9,7 @@ #define SIZE 4 int main(int argc, char **argv) { - int rank, i, j; + int rank; double a[SIZE][SIZE] = {{0}}; MPI_Datatype columntype; @@ -21,16 +21,16 @@ int main(int argc, char **argv) { MPI_Type_commit(&columntype); if (rank == 0) { - for(i=0; i