From: Arnaud Giersch Date: Fri, 30 Nov 2012 15:23:18 +0000 (+0100) Subject: Initialize variables, and make valgrind happy. X-Git-Tag: v3_9_rc1~86^2~206 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/238f2586203ab9bc2d0f7b2cdd8c736c90d45d4a Initialize variables, and make valgrind happy. --- diff --git a/teshsuite/smpi/hvector_test.c b/teshsuite/smpi/hvector_test.c index 86d1a403d3..da16a748ab 100644 --- a/teshsuite/smpi/hvector_test.c +++ b/teshsuite/smpi/hvector_test.c @@ -5,7 +5,7 @@ int main(int argc, char **argv) { int rank, i, j; - double a[SIZE][SIZE]; + double a[SIZE][SIZE] = {{0}}; MPI_Datatype columntype; diff --git a/teshsuite/smpi/vector_test.c b/teshsuite/smpi/vector_test.c index 8fd729f1f1..ce84eac7fd 100644 --- a/teshsuite/smpi/vector_test.c +++ b/teshsuite/smpi/vector_test.c @@ -5,7 +5,7 @@ int main(int argc, char **argv) { int rank, i, j; - double a[SIZE][SIZE]; + double a[SIZE][SIZE] = {{0}}; MPI_Datatype columntype;