diff --git a/src/zm_thread.h b/src/zm_thread.h index 771d6e80b..199d1f764 100644 --- a/src/zm_thread.h +++ b/src/zm_thread.h @@ -166,7 +166,7 @@ private: mutable Condition mCondition; public: - __attribute__((used)) ThreadData() : mCondition( mMutex ) { + __attribute__((used)) ThreadData() : mValue(0), mCondition( mMutex ) { mChanged = false; } __attribute__((used)) ThreadData( T value ) : mValue( value ), mCondition( mMutex ) {