Commit 0cf2010f authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

regedit: Initialize a variable (Coverity).

parent 962e97db
...@@ -246,7 +246,7 @@ BOOL CreateKey(HWND hwnd, HKEY hKeyRoot, LPCTSTR keyPath, LPTSTR keyName) ...@@ -246,7 +246,7 @@ BOOL CreateKey(HWND hwnd, HKEY hKeyRoot, LPCTSTR keyPath, LPTSTR keyName)
{ {
BOOL result = FALSE; BOOL result = FALSE;
LONG lRet = ERROR_SUCCESS; LONG lRet = ERROR_SUCCESS;
HKEY retKey; HKEY retKey = NULL;
TCHAR newKey[MAX_NEW_KEY_LEN - 4]; TCHAR newKey[MAX_NEW_KEY_LEN - 4];
int keyNum; int keyNum;
HKEY hKey; HKEY hKey;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment