PerfMon/AdvancedCPU: Fix use of uninitialized variable

This caused problems on Release\Win32 builds.
This commit is contained in:
Birunthan Mohanathas 2013-12-23 18:18:53 +00:00
parent 106e1664c3
commit ca9bc0e880

View File

@ -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