From: degomme Date: Mon, 6 Mar 2017 13:40:25 +0000 (+0100) Subject: Remove useless check - Appease gcc >= 6 X-Git-Tag: v3_15~217 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f8cd5098df54470fa12f323f84f01a55c88295d4?ds=inline Remove useless check - Appease gcc >= 6 --- diff --git a/src/smpi/smpi_comm.cpp b/src/smpi/smpi_comm.cpp index 58748d92b1..ec4d78baf6 100644 --- a/src/smpi/smpi_comm.cpp +++ b/src/smpi/smpi_comm.cpp @@ -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()