From 238f2586203ab9bc2d0f7b2cdd8c736c90d45d4a Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 30 Nov 2012 16:23:18 +0100 Subject: [PATCH 1/1] Initialize variables, and make valgrind happy. --- teshsuite/smpi/hvector_test.c | 2 +- teshsuite/smpi/vector_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2