more vc6 weirdness
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6885 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e84cef0be8
commit
1f66c3bcb0
1 changed files with 2 additions and 2 deletions
|
@ -1235,11 +1235,11 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
||||||
break;
|
break;
|
||||||
case EW_WRITEREG: // write registry value
|
case EW_WRITEREG: // write registry value
|
||||||
{
|
{
|
||||||
int rootkey=parm0, type=parm4, rtype=parm5;
|
|
||||||
const TCHAR *rkn UNUSED=RegKeyHandleToName((HKEY)rootkey);
|
|
||||||
HKEY hKey;
|
HKEY hKey;
|
||||||
|
int rootkey=parm0, type=parm4, rtype=parm5;
|
||||||
TCHAR *buf0=GetStringFromParm(0x02);
|
TCHAR *buf0=GetStringFromParm(0x02);
|
||||||
TCHAR *buf1=GetStringFromParm(0x11);
|
TCHAR *buf1=GetStringFromParm(0x11);
|
||||||
|
const TCHAR *rkn UNUSED=RegKeyHandleToName((HKEY)rootkey);
|
||||||
|
|
||||||
exec_error++;
|
exec_error++;
|
||||||
if ((hKey = RegCreateScriptKey(rootkey, buf1, KEY_SET_VALUE)))
|
if ((hKey = RegCreateScriptKey(rootkey, buf1, KEY_SET_VALUE)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue