From: Arnaud Giersch Date: Mon, 23 Dec 2019 13:55:49 +0000 (+0100) Subject: Merge branch 'master' of framagit.org:simgrid/simgrid X-Git-Tag: v3.25~236 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c587485ee2aae6b2c54ed80656cbdc4e3ba8d157?hp=c6bbeb1829c36ff45b43ab25f9d8d3f53f554d98 Merge branch 'master' of framagit.org:simgrid/simgrid --- diff --git a/include/simgrid/jedule/jedule_platform.hpp b/include/simgrid/jedule/jedule_platform.hpp index ed27a85c16..faa128bd06 100644 --- a/include/simgrid/jedule/jedule_platform.hpp +++ b/include/simgrid/jedule/jedule_platform.hpp @@ -22,7 +22,7 @@ public: Container& operator=(const Container&) = delete; private: - int last_id_; + int last_id_ = 0; int is_lowest_ = 0; public: diff --git a/src/mc/inspect/Frame.hpp b/src/mc/inspect/Frame.hpp index a9526f45f0..385eca637a 100644 --- a/src/mc/inspect/Frame.hpp +++ b/src/mc/inspect/Frame.hpp @@ -56,7 +56,6 @@ public: void* frame_base(unw_cursor_t& unw_cursor) const; void remove_variable(char* name); }; - } // namespace mc } // namespace simgrid diff --git a/src/smpi/include/smpi_comm.hpp b/src/smpi/include/smpi_comm.hpp index 1febed343e..06280b2a5b 100644 --- a/src/smpi/include/smpi_comm.hpp +++ b/src/smpi/include/smpi_comm.hpp @@ -34,7 +34,7 @@ class Comm : public F2C, public Keyval{ std::string name_; MPI_Info info_ = MPI_INFO_NULL; int id_; - MPI_Errhandler errhandler_; + MPI_Errhandler errhandler_ = MPI_ERRORS_ARE_FATAL; public: static std::unordered_map keyvals_; diff --git a/src/smpi/mpi/smpi_comm.cpp b/src/smpi/mpi/smpi_comm.cpp index ac061c0115..85267e8749 100644 --- a/src/smpi/mpi/smpi_comm.cpp +++ b/src/smpi/mpi/smpi_comm.cpp @@ -30,7 +30,6 @@ int Comm::keyval_id_=0; Comm::Comm(MPI_Group group, MPI_Topology topo, int smp, int in_id) : group_(group), topo_(topo),is_smp_comm_(smp), id_(in_id) { - errhandler_ = MPI_ERRORS_ARE_FATAL; errhandler_->ref(); //First creation of comm is done before SIMIX_run, so only do comms for others if(in_id==MPI_UNDEFINED && smp==0 && this->rank()!=MPI_UNDEFINED ){