shell32: Initialise the error string pointer.

This commit is contained in:
Huw Davies 2011-07-28 11:04:27 +01:00 committed by Alexandre Julliard
parent 3f62946272
commit fccd4e29c9
1 changed files with 2 additions and 0 deletions

View File

@ -3199,6 +3199,8 @@ static HRESULT redirect_known_folder(
LPWSTR lpRegistryPath = NULL, lpSrcPath = NULL;
TRACE("(%s, %p, 0x%08x, %s, %d, %p, %p)\n", debugstr_guid(rfid), hwnd, flags, debugstr_w(pszTargetPath), cFolders, pExclusion, ppszError);
if (ppszError) *ppszError = NULL;
hr = get_known_folder_registry_path(rfid, NULL, &lpRegistryPath);
if(SUCCEEDED(hr))