Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
these were not used since ... well .. a long time
authorAugustin Degomme <adegomme@users.noreply.github.com>
Wed, 25 Jul 2018 22:17:55 +0000 (00:17 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Wed, 25 Jul 2018 22:20:10 +0000 (00:20 +0200)
src/smpi/include/smpi_actor.hpp
src/smpi/internals/smpi_actor.cpp

index bf6371c..0f1a13e 100644 (file)
@@ -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_;
index 42847cf..c358275 100644 (file)
@@ -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());