Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Please scan-build and hopefully sonar too [ci-skip]
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 24 Feb 2022 11:31:38 +0000 (12:31 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 24 Feb 2022 11:32:03 +0000 (12:32 +0100)
src/kernel/actor/MutexObserver.hpp

index 6b46645..e413a01 100644 (file)
@@ -20,7 +20,7 @@ namespace actor {
 /* All the observers of Mutex transitions are very similar, so implement them all together in this class */
 class MutexObserver : public SimcallObserver {
   mc::Transition::Type type_;
-  activity::MutexImpl* const mutex_ = nullptr;
+  activity::MutexImpl* const mutex_;
 
 public:
   MutexObserver(ActorImpl* actor, mc::Transition::Type type, activity::MutexImpl* mutex);