projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Fix gdb2 and regexpl warnings under gcc 4.4.0
[reactos.git]
/
rosapps
/
applications
/
sysutils
/
regexpl
/
ShellCommandSetValue.cpp
diff --git
a/rosapps/applications/sysutils/regexpl/ShellCommandSetValue.cpp
b/rosapps/applications/sysutils/regexpl/ShellCommandSetValue.cpp
index
5694a7a
..
23d7c20
100644
(file)
--- a/
rosapps/applications/sysutils/regexpl/ShellCommandSetValue.cpp
+++ b/
rosapps/applications/sysutils/regexpl/ShellCommandSetValue.cpp
@@
-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(".");
}