Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
addf0c11
Commit
addf0c11
authored
Sep 14, 2009
by
Austin English
Committed by
Alexandre Julliard
Sep 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Avoid #if 0, use if(0) instead.
parent
508aa85c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cred.c
dlls/advapi32/tests/cred.c
+3
-2
No files found.
dlls/advapi32/tests/cred.c
View file @
addf0c11
...
...
@@ -154,12 +154,13 @@ static void test_CredReadDomainCredentialsA(void)
/* these two tests would crash on both native and Wine. Implementations
* does not check for NULL output pointers and try to zero them out early */
#if 0
if
(
0
)
{
ok
(
!
pCredReadDomainCredentialsA
(
&
info
,
0
,
NULL
,
&
creds
)
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"!
\n
"
);
ok
(
!
pCredReadDomainCredentialsA
(
&
info
,
0
,
&
count
,
NULL
)
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"!
\n
"
);
#endif
}
SetLastError
(
0xdeadbeef
);
ret
=
pCredReadDomainCredentialsA
(
NULL
,
0
,
&
count
,
&
creds
);
...
...
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