advapi32/tests: Avoid #if 0, use if(0) instead.
This commit is contained in:
parent
508aa85c6b
commit
addf0c11a0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue