1
1

Shaun Jackson noted that MPI_STATUS_IGNORE is actually (effectively)

NULL, so testing for NULL as a bad status parameter here is a bad
idea.

This commit was SVN r20891.
Этот коммит содержится в:
Jeff Squyres 2009-03-28 01:24:41 +00:00
родитель 47dc1bd493
Коммит bf8defc475

Просмотреть файл

@ -49,7 +49,7 @@ int MPI_Request_get_status(MPI_Request request, int *flag,
if( MPI_PARAM_CHECK ) {
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
if( (NULL == flag) || (NULL == status) ) {
if( (NULL == flag) ) {
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_ARG, FUNC_NAME);
} else if (NULL == request) {
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_REQUEST,