mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
PerfMon/AdvancedCPU: Fix use of uninitialized variable
This caused problems on Release\Win32 builds.
This commit is contained in:
parent
106e1664c3
commit
ca9bc0e880
@ -39,7 +39,7 @@ CPerfTitleDatabase::CPerfTitleDatabase(
|
|||||||
|
|
||||||
// Find out the max number of entries
|
// Find out the max number of entries
|
||||||
HKEY hKeyPerflib = 0;
|
HKEY hKeyPerflib = 0;
|
||||||
DWORD cbLastIndex;
|
DWORD cbLastIndex = sizeof(DWORD);
|
||||||
|
|
||||||
// Open the registry key that has the values for the maximum number
|
// Open the registry key that has the values for the maximum number
|
||||||
// of title strings
|
// of title strings
|
||||||
|
Loading…
Reference in New Issue
Block a user