Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
dcd05e8e
Commit
dcd05e8e
authored
Feb 05, 2016
by
Hugh McMaster
Committed by
Alexandre Julliard
Feb 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
5af9c123
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
reg.c
programs/reg/reg.c
+0
-9
No files found.
programs/reg/reg.c
View file @
dcd05e8e
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment