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)
{
LPCTSTR s;
LPTSTR lpNewSubKey;
LPTSTR lpNewSubKey = NULL;
LONG Ret = 0;
s = _tcsrchr(lpSubKey, '\\');