- Fix gdb2 and regexpl warnings under gcc 4.4.0
[reactos.git] / rosapps / applications / sysutils / regexpl / ShellCommandSetValue.cpp
index 5694a7a..23d7c20 100644 (file)
@@ -209,6 +209,7 @@ CheckValueArgument:
 
        CRegistryKey Key;
        TCHAR *pszValueName;
+       const TCHAR *pszEmpty = _T("");
        const TCHAR *pszPath;
 
        if (blnHelp)
@@ -241,7 +242,7 @@ CheckValueArgument:
        }
        else
        {
-               pszValueName = _T("");
+               pszValueName = (TCHAR*)pszEmpty;
                pszPath = _T(".");
        }