From 6567a7607f0f033c3537e24f931feaf73b7d162c Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 26 Mar 2019 18:26:24 +0000 Subject: [PATCH] Fixed an uninitialised variable in the posix implementation of HighResolutionTimer --- modules/juce_core/native/juce_posix_SharedCode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {};