Commit f33e8e4a authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Windows : fix warning about potential division by 0

The warning brought by code analysis, unsafe arithmetic in timer related code
parent fbad1b11
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifdef _WIN32 #ifdef _WIN32
#define OFFSET_TO_EPOC 116444736000000000LL #define OFFSET_TO_EPOC 116444736000000000LL
static ulonglong query_performance_frequency; static ulonglong query_performance_frequency=1;
#endif #endif
#ifdef HAVE_LINUX_UNISTD_H #ifdef HAVE_LINUX_UNISTD_H
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment