secur32/tests: Don't check return values inside of if(0) (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-09 13:43:47 -08:00 committed by Alexandre Julliard
parent 0161db5e87
commit 7868edd86e
1 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ static void testGetUserNameExA(void)
}
if (0) /* Crashes on Windows */
rc = pGetUserNameExA(NameSamCompatible, NULL, NULL);
pGetUserNameExA(NameSamCompatible, NULL, NULL);
size = 0;
rc = pGetUserNameExA(NameSamCompatible, NULL, &size);
@ -128,7 +128,7 @@ static void testGetUserNameExA(void)
if (0) /* Crashes on Windows with big enough size */
{
/* Returned size is already big enough */
rc = pGetUserNameExA(NameSamCompatible, NULL, &size);
pGetUserNameExA(NameSamCompatible, NULL, &size);
}
size = 0;
@ -165,7 +165,7 @@ static void testGetUserNameExW(void)
}
if (0) /* Crashes on Windows */
rc = pGetUserNameExW(NameSamCompatible, NULL, NULL);
pGetUserNameExW(NameSamCompatible, NULL, NULL);
size = 0;
rc = pGetUserNameExW(NameSamCompatible, NULL, &size);
@ -175,7 +175,7 @@ static void testGetUserNameExW(void)
if (0) /* Crashes on Windows with big enough size */
{
/* Returned size is already big enough */
rc = pGetUserNameExW(NameSamCompatible, NULL, &size);
pGetUserNameExW(NameSamCompatible, NULL, &size);
}
size = 0;