From 029ca24572e58e49c6ab567a99ea7ff507539b7c Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 28 Aug 2004 09:29:33 +0000 Subject: [PATCH] Fix minor uninitialized variable issue This commit was SVN r2353. --- src/mca/coll/basic/coll_basic_allgatherv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mca/coll/basic/coll_basic_allgatherv.c b/src/mca/coll/basic/coll_basic_allgatherv.c index 605ce84ff9..a909f03f36 100644 --- a/src/mca/coll/basic/coll_basic_allgatherv.c +++ b/src/mca/coll/basic/coll_basic_allgatherv.c @@ -36,7 +36,6 @@ int mca_coll_basic_allgatherv_intra(void *sbuf, int scount, err = comm->c_coll.coll_gatherv(sbuf, scount, sdtype, rbuf, rcounts, disps, rdtype, i, comm); if (MPI_SUCCESS != err) { - printf("allgatherv barfed: errcode %d\n", err); return err; } } @@ -69,7 +68,7 @@ int mca_coll_basic_allgatherv_inter(void *sbuf, int scount, scounts = (int *) malloc (rsize * sizeof(int) ); sdisps = (int *) calloc (rsize, sizeof(int)); if ( NULL == scounts || NULL == sdisps ) { - return err; + return OMPI_ERR_OUT_OF_RESOURCE; } for ( i=0; i