Skip to content

Commit ead7efe

Browse files
committed
coll/basic: silence CID 1362614 in mca_coll_basic_allreduce_inter()
1 parent ad2e1a5 commit ead7efe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/mca/coll/basic/coll_basic_allreduce.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* University of Stuttgart. All rights reserved.
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
12-
* Copyright (c) 2015 Research Organization for Information Science
12+
* Copyright (c) 2015-2016 Research Organization for Information Science
1313
* and Technology (RIST). All rights reserved.
1414
* $COPYRIGHT$
1515
*
@@ -189,6 +189,7 @@ mca_coll_basic_allreduce_inter(const void *sbuf, void *rbuf, int count,
189189
err = MCA_PML_CALL(recv(rbuf, count, dtype, root,
190190
MCA_COLL_BASE_TAG_ALLREDUCE,
191191
comm, MPI_STATUS_IGNORE));
192+
if (OMPI_SUCCESS != err) { line = __LINE__; goto exit; }
192193
}
193194

194195
exit:

0 commit comments

Comments
 (0)