From: Arnaud Giersch Date: Tue, 24 May 2011 22:11:16 +0000 (+0200) Subject: Use retval for the return value. X-Git-Tag: v3_6_rc3~2^2~12 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c66daa524a31a24910bc8a1d239743e502367e09 Use retval for the return value. --- diff --git a/src/smpi/smpi_mpi_dt.c b/src/smpi/smpi_mpi_dt.c index cc85e55b86..700870df07 100644 --- a/src/smpi/smpi_mpi_dt.c +++ b/src/smpi/smpi_mpi_dt.c @@ -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,