From d1c6772185af4af0b5adb293ec304cff23cca030 Mon Sep 17 00:00:00 2001 From: degomme Date: Tue, 19 Apr 2016 17:54:12 +0200 Subject: [PATCH] don't leave debug messages --- src/smpi/smpi_mpi_dt.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } -- 2.20.1