Commit 2996c57f authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Fixed uninitialized HKEYs.

parent b9910123
...@@ -623,7 +623,7 @@ static BOOL DIR_TryModulePath( LPCSTR name, DOS_FULL_NAME *full_name, BOOL win32 ...@@ -623,7 +623,7 @@ static BOOL DIR_TryModulePath( LPCSTR name, DOS_FULL_NAME *full_name, BOOL win32
*/ */
static BOOL DIR_TryAppPath( LPCSTR name, DOS_FULL_NAME *full_name ) static BOOL DIR_TryAppPath( LPCSTR name, DOS_FULL_NAME *full_name )
{ {
HKEY hkAppPaths, hkApp; HKEY hkAppPaths = 0, hkApp = 0;
char lpAppName[MAX_PATHNAME_LEN], lpAppPaths[MAX_PATHNAME_LEN]; char lpAppName[MAX_PATHNAME_LEN], lpAppPaths[MAX_PATHNAME_LEN];
LPSTR lpFileName; LPSTR lpFileName;
BOOL res = FALSE; BOOL res = FALSE;
......
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