diff options
author | Oliver Schneider <oliver@assarbad.net> | 2018-10-09 23:19:01 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2018-10-09 23:19:01 +0300 |
commit | c26c2bc4a1e97ea50a2daad620c343e6c5dd81c1 (patch) | |
tree | b0aeee294bcb1aa69bdfdc34fe2e9043c4012e50 /common | |
parent | 3008e91efac446fc21d607485cb787c457401a8b (diff) |
Fixed a number of warnings from the static analyzer and switched to GetTickCount64 (or a surrogate function on pre-Vista) whereever we use millisecond values
Diffstat (limited to 'common')
-rw-r--r-- | common/tracer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tracer.cpp b/common/tracer.cpp index 35bcd1b..30e74b2 100644 --- a/common/tracer.cpp +++ b/common/tracer.cpp @@ -59,7 +59,7 @@ CWDSTracerConsole::CWDSTracerConsole() CWDSTracerConsole::~CWDSTracerConsole() { _tprintf(_T("Press a key to continue/close.\n")); - _getch(); + (void)_getch(); ::FreeConsole(); } #endif // VTRACE_TO_CONSOLE |