Silence compiler warnings.

This commit is contained in:
Bartosz Taudul 2021-12-04 13:41:55 +01:00
parent 152d47f4d3
commit 2008c88983
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

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 );