File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -40,21 +40,21 @@ static const char FUNC_NAME[] = "MPI_Type_commit";
40
40
41
41
int MPI_Type_commit (MPI_Datatype * type )
42
42
{
43
- int rc ;
43
+ int rc ;
44
44
45
- MEMCHECKER (
46
- memchecker_datatype (* type );
47
- );
45
+ MEMCHECKER (
46
+ memchecker_datatype (* type );
47
+ );
48
48
49
- if (MPI_PARAM_CHECK ) {
50
- OMPI_ERR_INIT_FINALIZE (FUNC_NAME );
51
- if (NULL == type || NULL == * type || MPI_DATATYPE_NULL == * type ) {
52
- return OMPI_ERRHANDLER_INVOKE (MPI_COMM_WORLD , MPI_ERR_TYPE , FUNC_NAME );
49
+ if (MPI_PARAM_CHECK ) {
50
+ OMPI_ERR_INIT_FINALIZE (FUNC_NAME );
51
+ if (NULL == type || NULL == * type || MPI_DATATYPE_NULL == * type ) {
52
+ return OMPI_ERRHANDLER_INVOKE (MPI_COMM_WORLD , MPI_ERR_TYPE , FUNC_NAME );
53
+ }
53
54
}
54
- }
55
55
56
- OPAL_CR_ENTER_LIBRARY ();
56
+ OPAL_CR_ENTER_LIBRARY ();
57
57
58
- rc = ompi_datatype_commit ( type );
59
- OMPI_ERRHANDLER_RETURN (rc , MPI_COMM_WORLD , rc , FUNC_NAME );
58
+ rc = ompi_datatype_commit ( type );
59
+ OMPI_ERRHANDLER_RETURN (rc , MPI_COMM_WORLD , rc , FUNC_NAME );
60
60
}
You can’t perform that action at this time.
0 commit comments