mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Silence compiler warnings.
This commit is contained in:
parent
152d47f4d3
commit
2008c88983
@ -733,7 +733,7 @@ static void ProbePreciseIp( perf_event_attr& pe, pid_t pid )
|
||||
static bool IsGenuineIntel()
|
||||
{
|
||||
#if defined __i386 || defined __x86_64__
|
||||
uint32_t regs[4];
|
||||
uint32_t regs[4] = {};
|
||||
__get_cpuid( 0, regs, regs+1, regs+2, regs+3 );
|
||||
char manufacturer[12];
|
||||
memcpy( manufacturer, regs+1, 4 );
|
||||
|
Loading…
Reference in New Issue
Block a user