From bf8defc475e135dcb12a8e48a8b3ef3a32972f46 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 28 Mar 2009 01:24:41 +0000 Subject: [PATCH] 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. --- ompi/mpi/c/request_get_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mpi/c/request_get_status.c b/ompi/mpi/c/request_get_status.c index 502c267912..9e1293d503 100644 --- a/ompi/mpi/c/request_get_status.c +++ b/ompi/mpi/c/request_get_status.c @@ -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,