Fix missing SYSTEM_INFO initializers

This commit is contained in:
Eric Fiselier 2016-07-23 16:22:13 -06:00
parent 3b2d0abd2b
commit a2ca94dd10
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ void InitializeSystemInfo() {
else
cpuinfo_cycles_per_second = static_cast<double>(EstimateCyclesPerSecond());
SYSTEM_INFO sysinfo = { 0 };
SYSTEM_INFO sysinfo = {};
GetSystemInfo(&sysinfo);
cpuinfo_num_cpus = sysinfo.dwNumberOfProcessors; // number of logical processors in the current group