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
9dc835c2
Commit
9dc835c2
authored
May 20, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Remove redundant "non NULL" check of var cred_dst (coccicheck).
parent
4deab508
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+1
-1
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
9dc835c2
...
...
@@ -1303,7 +1303,7 @@ static RPC_STATUS RpcQualityOfService_Create(const RPC_SECURITY_QOS *qos_src, BO
cred_dst
->
User
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cred_dst
->
UserLength
*
sizeof
(
WCHAR
));
cred_dst
->
Password
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cred_dst
->
PasswordLength
*
sizeof
(
WCHAR
));
cred_dst
->
Domain
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cred_dst
->
DomainLength
*
sizeof
(
WCHAR
));
if
(
!
cred_dst
||
!
cred_dst
->
Password
||
!
cred_dst
->
Domain
)
goto
error
;
if
(
!
cred_dst
->
Password
||
!
cred_dst
->
Domain
)
goto
error
;
MultiByteToWideChar
(
CP_ACP
,
0
,
(
char
*
)
cred_src
->
User
,
cred_src
->
UserLength
,
cred_dst
->
User
,
cred_dst
->
UserLength
);
MultiByteToWideChar
(
CP_ACP
,
0
,
(
char
*
)
cred_src
->
Domain
,
cred_src
->
DomainLength
,
cred_dst
->
Domain
,
cred_dst
->
DomainLength
);
MultiByteToWideChar
(
CP_ACP
,
0
,
(
char
*
)
cred_src
->
Password
,
cred_src
->
PasswordLength
,
cred_dst
->
Password
,
cred_dst
->
PasswordLength
);
...
...
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