Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : remove unused argument in functions for heap comparison algorithm
[simgrid.git] / src / smpi / smpi_mpi_dt.c
index cc85e55..700870d 100644 (file)
@@ -129,7 +129,7 @@ int smpi_datatype_extent(MPI_Datatype datatype, MPI_Aint * lb,
     *extent = datatype->ub - datatype->lb;
     retval = MPI_SUCCESS;
   }
-  return MPI_SUCCESS;
+  return retval;
 }
 
 int smpi_datatype_copy(void *sendbuf, int sendcount, MPI_Datatype sendtype,