diff --git a/Plugins/PluginPerfMon/Titledb.cpp b/Plugins/PluginPerfMon/Titledb.cpp index 49ab5f81..16f4f097 100644 --- a/Plugins/PluginPerfMon/Titledb.cpp +++ b/Plugins/PluginPerfMon/Titledb.cpp @@ -39,7 +39,7 @@ CPerfTitleDatabase::CPerfTitleDatabase( // Find out the max number of entries HKEY hKeyPerflib = 0; - DWORD cbLastIndex; + DWORD cbLastIndex = sizeof(DWORD); // Open the registry key that has the values for the maximum number // of title strings