diff --git a/modules/juce_core/native/juce_posix_SharedCode.h b/modules/juce_core/native/juce_posix_SharedCode.h index 4cbd869d65..7b5f9c0cf6 100644 --- a/modules/juce_core/native/juce_posix_SharedCode.h +++ b/modules/juce_core/native/juce_posix_SharedCode.h @@ -1352,7 +1352,7 @@ struct HighResolutionTimer::Pimpl } HighResolutionTimer& owner; - std::atomic periodMs; + std::atomic periodMs { 0 }; private: pthread_t thread = {};