Merge from HEAD: r14230 Don't use uninitialized variable in _SHExpandEnvironmentStrings.
Modified: branches/ros-branch-0_2_6/reactos/lib/shell32/shellpath.c
--- branches/ros-branch-0_2_6/reactos/lib/shell32/shellpath.c 2005-03-23 17:19:12 UTC (rev 14284) +++ branches/ros-branch-0_2_6/reactos/lib/shell32/shellpath.c 2005-03-23 17:19:36 UTC (rev 14285) @@ -1522,7 +1522,7 @@
*/ 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);