Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sonar wants one declaration per line.
[simgrid.git] / src / smpi / bindings / smpi_pmpi_type.cpp
index c82e82c..5aa26ad 100644 (file)
@@ -48,7 +48,8 @@ int PMPI_Type_get_extent(MPI_Datatype datatype, MPI_Aint * lb, MPI_Aint * extent
 
 int PMPI_Type_get_extent_x(MPI_Datatype datatype, MPI_Count * lb, MPI_Count * extent)
 {
-  MPI_Aint tmplb, tmpext;
+  MPI_Aint tmplb;
+  MPI_Aint tmpext;
   int ret = PMPI_Type_get_extent(datatype, &tmplb, &tmpext);
   if(ret == MPI_SUCCESS){
     *lb = static_cast<MPI_Count>(tmplb);