Skip to content

Commit 025201b

Browse files
committed
osc/portals4: set the initial value of req_status.MPI_ERROR to MPI_SUCCESS
1 parent aa0d687 commit 025201b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/mca/osc/portals4/osc_portals4_request.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ OBJ_CLASS_DECLARATION(ompi_osc_portals4_request_t);
3333
req->super.req_mpi_object.win = win; \
3434
req->super.req_complete = false; \
3535
req->super.req_state = OMPI_REQUEST_ACTIVE; \
36+
req->super.req_status.MPI_ERROR = MPI_SUCCESS; \
3637
req->ops_expected = 0; \
3738
req->ops_committed = 0; \
3839
} while (0)

0 commit comments

Comments
 (0)