msvcr90/tests: don't check return values inside of if(0) (LLVM/Clang)

Austin English austinenglish at gmail.com
Wed Feb 9 15:43:38 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/msvcr90/tests/msvcr90.c b/dlls/msvcr90/tests/msvcr90.c
index dc90103..ace9e35 100644
--- a/dlls/msvcr90/tests/msvcr90.c
+++ b/dlls/msvcr90/tests/msvcr90.c
@@ -747,9 +747,9 @@ static void test__atoflt(void)
 if (0)
 {
     /* crashes on native */
-    ret = p_atoflt(NULL, NULL);
-    ret = p_atoflt(NULL, (char*)_atoflt_testdata[0].str);
-    ret = p_atoflt(&flt, NULL);
+    p_atoflt(NULL, NULL);
+    p_atoflt(NULL, (char*)_atoflt_testdata[0].str);
+    p_atoflt(&flt, NULL);
 }
 
     while (_atoflt_testdata[i].str)
@@ -846,7 +846,7 @@ static void test__realloc_crt(void)
 if (0)
 {
     /* crashes on some systems starting Vista */
-    mem = p_realloc_crt(NULL, 10);
+    p_realloc_crt(NULL, 10);
 }
 
     mem = p_malloc(10);


More information about the wine-patches mailing list