From 201d2071f448214f15c7eddf1c431f5e8ea65869 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 10 Oct 2012 08:10:38 +0200 Subject: [PATCH] Always initialize variable. --- examples/smpi/MM/2.5D_MM.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/smpi/MM/2.5D_MM.c b/examples/smpi/MM/2.5D_MM.c index 514ac43af2..3edf8c3d96 100644 --- a/examples/smpi/MM/2.5D_MM.c +++ b/examples/smpi/MM/2.5D_MM.c @@ -19,7 +19,8 @@ double two_dot_five( size_t m, size_t k, size_t n, size_t Block_size, size_t group, size_t key, size_t size_row, size_t size_col, size_t NB_groups ){ - double *a, *b, *c, *res; + double *a, *b, *c; + double *res = NULL; /* Split the communicator into groups */ /* Find out my identity in the default communicator */ -- 2.20.1