reg: Remove stub output from the 'add' and 'delete' functions.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5af9c123f6
commit
dcd05e8e86
|
@ -263,13 +263,9 @@ static BOOL sane_path(const WCHAR *key)
|
|||
static int reg_add(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
|
||||
WCHAR *type, WCHAR separator, WCHAR *data, BOOL force)
|
||||
{
|
||||
static const WCHAR stubW[] = {'A','D','D',' ','-',' ','%','s',
|
||||
' ','%','s',' ','%','d',' ','%','s',' ','%','s',' ','%','d','\n',0};
|
||||
LPWSTR p;
|
||||
HKEY root,subkey;
|
||||
|
||||
reg_printfW(stubW, key_name, value_name, value_empty, type, data, force);
|
||||
|
||||
if (!sane_path(key_name))
|
||||
return 1;
|
||||
|
||||
|
@ -335,11 +331,6 @@ static int reg_delete(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
|
|||
LPWSTR p;
|
||||
HKEY root,subkey;
|
||||
|
||||
static const WCHAR stubW[] = {'D','E','L','E','T','E',
|
||||
' ','-',' ','%','s',' ','%','s',' ','%','d',' ','%','d',' ','%','d','\n'
|
||||
,0};
|
||||
reg_printfW(stubW, key_name, value_name, value_empty, value_all, force);
|
||||
|
||||
if (!sane_path(key_name))
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue