1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Silence compiler warnings.

This commit is contained in:
Bartosz Taudul
2021-12-04 13:41:55 +01:00
parent 152d47f4d3
commit 2008c88983
+1 -1
View File
@@ -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 );