regedit: Initialize a variable (Coverity).

This commit is contained in:
Paul Vriens 2006-10-23 21:30:58 +02:00 committed by Alexandre Julliard
parent 962e97dbf3
commit 0cf2010f7b

View File

@ -246,7 +246,7 @@ BOOL CreateKey(HWND hwnd, HKEY hKeyRoot, LPCTSTR keyPath, LPTSTR keyName)
{
BOOL result = FALSE;
LONG lRet = ERROR_SUCCESS;
HKEY retKey;
HKEY retKey = NULL;
TCHAR newKey[MAX_NEW_KEY_LEN - 4];
int keyNum;
HKEY hKey;