mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Avoid "Code is unreachable warning"
This commit is contained in:
parent
0b2e276dd2
commit
66ba9621bd
@ -335,8 +335,9 @@ static bool CheckHardwareSupportsInvariantTSC()
|
|||||||
{
|
{
|
||||||
#if !defined TRACY_TIMER_QPC && !defined TRACY_TIMER_FALLBACK
|
#if !defined TRACY_TIMER_QPC && !defined TRACY_TIMER_FALLBACK
|
||||||
InitFailure( "CPU doesn't support RDTSC instruction." );
|
InitFailure( "CPU doesn't support RDTSC instruction." );
|
||||||
#endif
|
#else
|
||||||
return false;
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
CpuId( regs, 0x80000007 );
|
CpuId( regs, 0x80000007 );
|
||||||
if( regs[3] & ( 1 << 8 ) ) return true;
|
if( regs[3] & ( 1 << 8 ) ) return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user