Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless check - Appease gcc >= 6
authordegomme <augustin.degomme@unibas.ch>
Mon, 6 Mar 2017 13:40:25 +0000 (14:40 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Mon, 6 Mar 2017 13:40:25 +0000 (14:40 +0100)
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()