Don't use uninitialized variable in _SHExpandEnvironmentStrings.
Modified: trunk/reactos/lib/shell32/shellpath.c
_____
Modified: trunk/reactos/lib/shell32/shellpath.c
--- trunk/reactos/lib/shell32/shellpath.c 2005-03-20 18:30:09 UTC
(rev 14229)
+++ trunk/reactos/lib/shell32/shellpath.c 2005-03-20 18:40:57 UTC
(rev 14230)
@@ -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);