fixed uninitialized variable warning Modified: trunk/reactos/subsys/system/regedit/regproc.c _____
Modified: trunk/reactos/subsys/system/regedit/regproc.c --- trunk/reactos/subsys/system/regedit/regproc.c 2005-10-20 17:59:00 UTC (rev 18640) +++ trunk/reactos/subsys/system/regedit/regproc.c 2005-10-20 18:07:00 UTC (rev 18641) @@ -1619,7 +1619,7 @@
LONG RegRenameKey(HKEY hKey, LPCTSTR lpSubKey, LPCTSTR lpNewName) { LPCTSTR s; - LPTSTR lpNewSubKey; + LPTSTR lpNewSubKey = NULL; LONG Ret = 0;
s = _tcsrchr(lpSubKey, '\');