- Fix gdb2 and regexpl warnings under gcc 4.4.0
[reactos.git] / rosapps / applications / sysutils / regexpl / ShellCommandValue.cpp
index 4e6e445..e03fb04 100644 (file)
@@ -122,6 +122,7 @@ CheckValueArgument:
 
        CRegistryKey Key;
        TCHAR *pchValueName;
+       const TCHAR *pszEmpty = _T("");
        const TCHAR *pszPath;
 
        if (blnHelp)
@@ -154,7 +155,7 @@ CheckValueArgument:
        }
        else
        {
-               pchValueName = _T("");
+               pchValueName = (TCHAR*)pszEmpty;
                pszPath = _T(".");
        }