From: Frederic Suter Date: Sat, 23 Feb 2019 11:13:13 +0000 (+0100) Subject: please sonar X-Git-Tag: v3_22~258 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8816765fafedb6fe7a30a663d1fd2eb3955c06f5?hp=5db87ca15597b5f8f521f8f80f7f3c9aa40b6048 please sonar --- diff --git a/examples/s4u/maestro-set/s4u-maestro-set.cpp b/examples/s4u/maestro-set/s4u-maestro-set.cpp index bd0802eb48..3a9f24e651 100644 --- a/examples/s4u/maestro-set/s4u-maestro-set.cpp +++ b/examples/s4u/maestro-set/s4u-maestro-set.cpp @@ -53,7 +53,7 @@ static void receiver() delete payload; } -static void maestro(void* data) +static void maestro(void* /* data */) { ensure_other_tid(); simgrid::s4u::Actor::create("receiver", simgrid::s4u::Host::by_name("Jupiter"), receiver); diff --git a/include/simgrid/s4u/Io.hpp b/include/simgrid/s4u/Io.hpp index 3e98128971..0a502aa6f3 100644 --- a/include/simgrid/s4u/Io.hpp +++ b/include/simgrid/s4u/Io.hpp @@ -53,7 +53,6 @@ public: XBT_ATTRIB_DEPRECATED_v324("Please use Io::wait_for()") void wait(double t) override { wait_for(t); } #endif -private: }; // class } // namespace s4u } // namespace simgrid diff --git a/src/kernel/context/Context.hpp b/src/kernel/context/Context.hpp index 42a1ca4552..e1e7bf10d6 100644 --- a/src/kernel/context/Context.hpp +++ b/src/kernel/context/Context.hpp @@ -41,7 +41,6 @@ protected: class XBT_PUBLIC Context { friend ContextFactory; -private: std::function code_; smx_actor_t actor_ = nullptr; void declare_context(std::size_t size);