Skip to content

Commit 6e6fd14

Browse files
committed
Fix indentation.
1 parent c895eb7 commit 6e6fd14

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

ompi/mpi/c/type_commit.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@ static const char FUNC_NAME[] = "MPI_Type_commit";
4040

4141
int MPI_Type_commit(MPI_Datatype *type)
4242
{
43-
int rc;
43+
int rc;
4444

45-
MEMCHECKER(
46-
memchecker_datatype(*type);
47-
);
45+
MEMCHECKER(
46+
memchecker_datatype(*type);
47+
);
4848

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+
}
5354
}
54-
}
5555

56-
OPAL_CR_ENTER_LIBRARY();
56+
OPAL_CR_ENTER_LIBRARY();
5757

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 );
6060
}

0 commit comments

Comments
 (0)