diff options
author | Beq <BeqJanus@vcs.firestormviewer.org> | 2022-06-09 01:37:39 +0300 |
---|---|---|
committer | Beq <BeqJanus@vcs.firestormviewer.org> | 2022-06-09 01:37:39 +0300 |
commit | 66ba9621bd66fc3feb4e8937a58563f283ed2abe (patch) | |
tree | cd717101b77d66732298095384a7a1dfef8c4271 | |
parent | 0b2e276dd2d96b475b38c737a7fc29bc74eaad67 (diff) |
Avoid "Code is unreachable warning"
-rw-r--r-- | client/TracyProfiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 65e7b4c9..2f898aba 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -335,8 +335,9 @@ static bool CheckHardwareSupportsInvariantTSC() { #if !defined TRACY_TIMER_QPC && !defined TRACY_TIMER_FALLBACK InitFailure( "CPU doesn't support RDTSC instruction." ); -#endif +#else return false; +#endif } CpuId( regs, 0x80000007 ); if( regs[3] & ( 1 << 8 ) ) return true; |