advapi32/tests: Avoid #if 0, use if(0) instead.

This commit is contained in:
Austin English 2009-09-14 02:13:19 -05:00 committed by Alexandre Julliard
parent 508aa85c6b
commit addf0c11a0
1 changed files with 3 additions and 2 deletions

View File

@ -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);