diff --git a/emper/CountingPrivateSemaphore.cpp b/emper/CountingPrivateSemaphore.cpp index 8e746738b9e19f1ee057985f11c43a9930f3312a..f7f629dc9bf94e0d892ee5230ea629e4db53be75 100644 --- a/emper/CountingPrivateSemaphore.cpp +++ b/emper/CountingPrivateSemaphore.cpp @@ -5,7 +5,7 @@ CountingPrivateSemaphore::CountingPrivateSemaphore() : CountingPrivateSemaphore(0) { } -CountingPrivateSemaphore::CountingPrivateSemaphore(unsigned int counter) : counter(counter) { +CountingPrivateSemaphore::CountingPrivateSemaphore(unsigned int counter) : counter(counter), blockedContext(nullptr) { } void CountingPrivateSemaphore::incrementCounterByOne() {