- Fix gdb2 and regexpl warnings under gcc 4.4.0
[reactos.git] / rosapps / applications / sysutils / regexpl / ShellCommandDeleteValue.cpp
index 0147a28..6946de1 100644 (file)
@@ -93,6 +93,7 @@ CheckValueArgument:
 
   CRegistryKey Key;
   TCHAR *pszValueNamePattern;
 
   CRegistryKey Key;
   TCHAR *pszValueNamePattern;
+  const TCHAR *pszEmpty = _T("");
   const TCHAR *pszPath;
 
   if (blnHelp)
   const TCHAR *pszPath;
 
   if (blnHelp)
@@ -115,7 +116,7 @@ CheckValueArgument:
   }
   else
   {
   }
   else
   {
-    pszValueNamePattern = _T("");
+    pszValueNamePattern = (TCHAR*)pszEmpty;
     pszPath = _T(".");
   }
 
     pszPath = _T(".");
   }