ntdll/tests: don't check return values inside of if(0) (LLVM/Clang) (1/2)
Austin English
austinenglish at gmail.com
Thu Feb 10 17:15:39 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
index 5059714..63bc813 100644
--- a/dlls/ntdll/tests/rtl.c
+++ b/dlls/ntdll/tests/rtl.c
@@ -1030,8 +1030,8 @@ static void test_RtlAllocateAndInitializeSid(void)
/* these tests crash on XP */
if (0)
{
- ret = pRtlAllocateAndInitializeSid(NULL, 0, 1, 2, 3, 4, 5, 6, 7, 8, &psid);
- ret = pRtlAllocateAndInitializeSid(&sia, 0, 1, 2, 3, 4, 5, 6, 7, 8, NULL);
+ pRtlAllocateAndInitializeSid(NULL, 0, 1, 2, 3, 4, 5, 6, 7, 8, &psid);
+ pRtlAllocateAndInitializeSid(&sia, 0, 1, 2, 3, 4, 5, 6, 7, 8, NULL);
}
ret = pRtlAllocateAndInitializeSid(&sia, 9, 1, 2, 3, 4, 5, 6, 7, 8, &psid);
More information about the wine-patches
mailing list