shlwapi: Uninitialized variable fix (Coverity).

This commit is contained in:
Andrew Talbot 2007-01-20 17:29:29 +00:00 committed by Alexandre Julliard
parent 1308d09808
commit fb0fbe3e8d

View file

@ -376,7 +376,7 @@ HRESULT WINAPI AssocQueryStringByKeyA(ASSOCF cfFlags, ASSOCSTR str, HKEY hkAssoc
LPCSTR pszExtra, LPSTR pszOut,
DWORD *pcchOut)
{
WCHAR szExtraW[MAX_PATH], *lpszExtraW;
WCHAR szExtraW[MAX_PATH], *lpszExtraW = szExtraW;
WCHAR szReturnW[MAX_PATH], *lpszReturnW = szReturnW;
HRESULT hRet = E_OUTOFMEMORY;