From: degomme Date: Tue, 19 Apr 2016 15:54:12 +0000 (+0200) Subject: don't leave debug messages X-Git-Tag: v3_13~51 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d1c6772185af4af0b5adb293ec304cff23cca030 don't leave debug messages --- diff --git a/src/smpi/smpi_mpi_dt.cpp b/src/smpi/smpi_mpi_dt.cpp index 7fcda62fd5..ed34374b4c 100644 --- a/src/smpi/smpi_mpi_dt.cpp +++ b/src/smpi/smpi_mpi_dt.cpp @@ -419,7 +419,7 @@ void smpi_datatype_free(MPI_Datatype* type){ void smpi_datatype_use(MPI_Datatype type){ if(type)type->in_use++; -XBT_INFO("using type %p, counter %d ", type, type->in_use); + if(type->sizeof_substruct!=0){ ((s_smpi_subtype_t *)(type)->substruct)->subtype_use(&type); } @@ -433,7 +433,6 @@ void smpi_datatype_unuse(MPI_Datatype type){ if (type->in_use > 0) type->in_use--; -XBT_INFO("unusing type %p, counter %d ", type, type->in_use); if(type->sizeof_substruct!=0){ ((s_smpi_subtype_t *)(type)->substruct)->subtype_free(&type); }