summaryrefslogtreecommitdiff
path: root/hrtimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hrtimer.cpp')
-rw-r--r--hrtimer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hrtimer.cpp b/hrtimer.cpp
index 3396aea..24fb6f9 100644
--- a/hrtimer.cpp
+++ b/hrtimer.cpp
@@ -40,7 +40,7 @@ word64 Timer::GetCurrentTimerValue()
word64 Timer::TicksPerSecond()
{
#if defined(CRYPTOPP_WIN32_AVAILABLE)
- static LARGE_INTEGER freq;
+ static LARGE_INTEGER freq = {0};
if (freq.QuadPart == 0)
{
if (!QueryPerformanceFrequency(&freq))