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

Alexandre Julliard julliard at winehq.org
Mon Feb 14 10:02:07 CST 2011


Module: wine
Branch: master
Commit: c57c9ce3d1eb2c69dfbbcd23417273a551c66bf0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c57c9ce3d1eb2c69dfbbcd23417273a551c66bf0

Author: Austin English <austinenglish at 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);




More information about the wine-cvs mailing list