From: Augustin Degomme Date: Wed, 25 Jul 2018 22:17:55 +0000 (+0200) Subject: these were not used since ... well .. a long time X-Git-Tag: v3_21~355^2~24^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/17d3d840ee2e6becbc9bb4fa7b1b324f040ecf78 these were not used since ... well .. a long time --- diff --git a/src/smpi/include/smpi_actor.hpp b/src/smpi/include/smpi_actor.hpp index bf6371cdcc..0f1a13ea4d 100644 --- a/src/smpi/include/smpi_actor.hpp +++ b/src/smpi/include/smpi_actor.hpp @@ -17,8 +17,6 @@ namespace smpi { class ActorExt { private: double simulated_ = 0 /* Used to time with simulated_start/elapsed */; - int* argc_ = nullptr; - char*** argv_ = nullptr; simgrid::s4u::MailboxPtr mailbox_; simgrid::s4u::MailboxPtr mailbox_small_; xbt_mutex_t mailboxes_mutex_; diff --git a/src/smpi/internals/smpi_actor.cpp b/src/smpi/internals/smpi_actor.cpp index 42847cfb98..c358275cd4 100644 --- a/src/smpi/internals/smpi_actor.cpp +++ b/src/smpi/internals/smpi_actor.cpp @@ -75,8 +75,6 @@ void ActorExt::set_data(int* argc, char*** argv) (*argv)[(*argc) - 2] = nullptr; } (*argc) -= 2; - argc_ = argc; - argv_ = argv; // set the process attached to the mailbox mailbox_small_->set_receiver(actor_); XBT_DEBUG("<%ld> SMPI process has been initialized: %p", actor_->get_pid(), actor_.get());