Commit 3e2bf8ad authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

gameux: Initialize registry path pointer to NULL in GAMEUX_getAppIdFromGDFPath.

parent e46c66a1
...@@ -364,7 +364,7 @@ static HRESULT GAMEUX_getAppIdFromGDFPath( ...@@ -364,7 +364,7 @@ static HRESULT GAMEUX_getAppIdFromGDFPath(
HRESULT hr; HRESULT hr;
GAME_INSTALL_SCOPE installScope; GAME_INSTALL_SCOPE installScope;
GUID instanceId; GUID instanceId;
LPWSTR lpRegistryPath; LPWSTR lpRegistryPath = NULL;
HKEY hKey; HKEY hKey;
DWORD dwLength = 49*sizeof(WCHAR);/* place for GUID */ DWORD dwLength = 49*sizeof(WCHAR);/* place for GUID */
......
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