fixed uninitialized variable warning

svn path=/trunk/; revision=18641
This commit is contained in:
Thomas Bluemel 2005-10-20 18:07:00 +00:00
parent 973d0cfabc
commit 7da9542b29

View file

@ -1619,7 +1619,7 @@ LONG RegMoveKey(HKEY hDestKey, LPCTSTR lpDestSubKey, HKEY hSrcKey, LPCTSTR lpSrc
LONG RegRenameKey(HKEY hKey, LPCTSTR lpSubKey, LPCTSTR lpNewName) LONG RegRenameKey(HKEY hKey, LPCTSTR lpSubKey, LPCTSTR lpNewName)
{ {
LPCTSTR s; LPCTSTR s;
LPTSTR lpNewSubKey; LPTSTR lpNewSubKey = NULL;
LONG Ret = 0; LONG Ret = 0;
s = _tcsrchr(lpSubKey, '\\'); s = _tcsrchr(lpSubKey, '\\');