mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 11:58:14 +00:00
Fixed uninitialized HKEYs.
This commit is contained in:
parent
b99101230f
commit
2996c57fba
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue