Fixed uninitialized HKEYs.

This commit is contained in:
Andreas Mohr 2002-07-16 01:11:12 +00:00 committed by Alexandre Julliard
parent b99101230f
commit 2996c57fba

View file

@ -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 )
{
HKEY hkAppPaths, hkApp;
HKEY hkAppPaths = 0, hkApp = 0;
char lpAppName[MAX_PATHNAME_LEN], lpAppPaths[MAX_PATHNAME_LEN];
LPSTR lpFileName;
BOOL res = FALSE;