- Fix gdb2 and regexpl warnings under gcc 4.4.0

svn path=/trunk/; revision=42968
This commit is contained in:
Stefan Ginsberg 2009-08-30 15:35:14 +00:00
parent a8d673a487
commit a557cda82c
8 changed files with 16 additions and 12 deletions

View file

@ -93,6 +93,7 @@ CheckValueArgument:
CRegistryKey Key;
TCHAR *pszValueNamePattern;
const TCHAR *pszEmpty = _T("");
const TCHAR *pszPath;
if (blnHelp)
@ -115,7 +116,7 @@ CheckValueArgument:
}
else
{
pszValueNamePattern = _T("");
pszValueNamePattern = (TCHAR*)pszEmpty;
pszPath = _T(".");
}