diff options
Diffstat (limited to 'ingen/Clock.hpp')
-rw-r--r-- | ingen/Clock.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ingen/Clock.hpp b/ingen/Clock.hpp index 5debb5e4..27d8443d 100644 --- a/ingen/Clock.hpp +++ b/ingen/Clock.hpp @@ -46,7 +46,7 @@ private: #else inline uint64_t now_microseconds() const { - struct timespec time; + struct timespec time{}; clock_gettime(_clock, &time); return static_cast<uint64_t>(time.tv_sec) * 1e6 + static_cast<uint64_t>(time.tv_nsec) / 1e3; |