Don't use uninitialized variable in _SHExpandEnvironmentStrings.

svn path=/trunk/; revision=14230
This commit is contained in:
Filip Navara
2005-03-20 18:40:57 +00:00
parent e8ecbebd7d
commit b4d371d7d2

View File

@@ -1522,7 +1522,7 @@ static HRESULT _SHGetProfilesValue(HKEY profilesKey, LPCWSTR szValueName,
*/
static HRESULT _SHExpandEnvironmentStrings(LPCWSTR szSrc, LPWSTR szDest)
{
HRESULT hr;
HRESULT hr = S_OK;
WCHAR szTemp[MAX_PATH], szProfilesPrefix[MAX_PATH] = { 0 };
TRACE("%s, %p\n", debugstr_w(szSrc), szDest);