Austin English : ntdll/tests: Don't check return values inside of if(0) ( LLVM/Clang).
Module: wine Branch: master Commit: c57c9ce3d1eb2c69dfbbcd23417273a551c66bf0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c57c9ce3d1eb2c69dfbbcd2341... Author: Austin English <austinenglish(a)gmail.com> Date: Thu Feb 10 15:15:39 2011 -0800 ntdll/tests: Don't check return values inside of if(0) (LLVM/Clang). --- dlls/ntdll/tests/rtl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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);
participants (1)
-
Alexandre Julliard