diff --git a/src/util/SystemInfo/SystemInfoWin.cpp b/src/util/SystemInfo/SystemInfoWin.cpp index a9e70045..cc8b69e9 100644 --- a/src/util/SystemInfo/SystemInfoWin.cpp +++ b/src/util/SystemInfo/SystemInfoWin.cpp @@ -46,6 +46,13 @@ void QueryCoreTimes(uint32 count, ProcessorTime out[]) out[i].user = sppi[i].UserTime.QuadPart; } } + else + { + for (auto i = 0; i < count; ++i) + { + out[i] = { }; + } + } } #endif \ No newline at end of file