Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless check - Appease gcc >= 6
[simgrid.git] / src / smpi / smpi_comm.cpp
index 58748d9..ec4d78b 100644 (file)
@@ -114,9 +114,7 @@ MPI_Group Comm::group()
 }
 
 MPI_Topology Comm::topo() {
-  if (this != MPI_COMM_NULL)
-    return m_topo;
-  return nullptr;
+  return m_topo;
 }
 
 int Comm::size()