diff options
Diffstat (limited to 'compat/timer.hpp')
-rw-r--r-- | compat/timer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/timer.hpp b/compat/timer.hpp index fb14145d..26e612b0 100644 --- a/compat/timer.hpp +++ b/compat/timer.hpp @@ -33,7 +33,7 @@ struct OTR_COMPAT_EXPORT Timer final double elapsed_ms() const; double elapsed_seconds() const; private: - struct timespec state; + struct timespec state {}; static void gettime(struct timespec* state); time_type conv_nsecs(const struct timespec& cur) const; using ns = time_units::ns; |