From 7da9542b29d22e2306432240e9f38e2725f9e1cc Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 20 Oct 2005 18:07:00 +0000 Subject: [PATCH] fixed uninitialized variable warning svn path=/trunk/; revision=18641 --- reactos/subsys/system/regedit/regproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/system/regedit/regproc.c b/reactos/subsys/system/regedit/regproc.c index 662ed2df624..d3a8f6214ce 100644 --- a/reactos/subsys/system/regedit/regproc.c +++ b/reactos/subsys/system/regedit/regproc.c @@ -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, '\\');