Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simcalls are not allowed on exit, even when cheating with raii.
[simgrid.git] / teshsuite / s4u / seal-platform / seal-platform.cpp
index f664448a8980b4df5fa11e5753f9bc67bfa03fb1..e8b775bb34011bcc3bf00f07acfe3c14d26da5b3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2022. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -47,7 +47,6 @@ public:
   void operator()() const
   {
     auto mbox     = sg4::Mailbox::by_name(sg4::this_actor::get_host()->get_name());
-    auto comm     = mbox->get_init();
     auto received = mbox->get_unique<std::string>();
     XBT_INFO("I got a '%s'.", received->c_str());