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
5a1d2dde
Commit
5a1d2dde
authored
Feb 03, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Feb 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
combase: Avoid calling RtlInitUnicodeString on a static constant.
parent
2cfcce83
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
combase.c
dlls/combase/combase.c
+1
-2
No files found.
dlls/combase/combase.c
View file @
5a1d2dde
...
...
@@ -220,7 +220,7 @@ static HKEY create_classes_root_hkey(DWORD access)
{
HKEY
hkey
,
ret
=
0
;
OBJECT_ATTRIBUTES
attr
;
UNICODE_STRING
name
;
UNICODE_STRING
name
=
RTL_CONSTANT_STRING
(
L"
\\
Registry
\\
Machine
\\
Software
\\
Classes"
)
;
attr
.
Length
=
sizeof
(
attr
);
attr
.
RootDirectory
=
0
;
...
...
@@ -228,7 +228,6 @@ static HKEY create_classes_root_hkey(DWORD access)
attr
.
Attributes
=
0
;
attr
.
SecurityDescriptor
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
RtlInitUnicodeString
(
&
name
,
L"
\\
Registry
\\
Machine
\\
Software
\\
Classes"
);
if
(
create_key
(
&
hkey
,
access
,
&
attr
))
return
0
;
TRACE
(
"%s -> %p
\n
"
,
debugstr_w
(
attr
.
ObjectName
->
Buffer
),
hkey
);
...
...
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