Skip to content

Commit c4c65d1

Browse files
authored
Merge pull request #2 from cniethammer/fix-datatype-cleanup
Fix datatype cleanup
2 parents a7a7e9d + 582b57b commit c4c65d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tst_types.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ int tst_type_cleanup (void)
500500
int i;
501501
for (i=PREDEFINED_DATATYPES; i < TST_TYPES_NUM; i++)
502502
{
503-
if (NULL == ((void*)types[i].mpi_datatype) || MPI_DATATYPE_NULL == types[i].mpi_datatype)
503+
if (MPI_DATATYPE_NULL == types[i].mpi_datatype)
504504
continue;
505505

506506
MPI_Type_free (&types[i].mpi_datatype);

0 commit comments

Comments
 (0)