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

Austin English austinenglish at gmail.com
Thu Feb 10 15:27:56 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c
index 98c99d7..f7ac478 100644
--- a/dlls/kernel32/tests/heap.c
+++ b/dlls/kernel32/tests/heap.c
@@ -469,11 +469,11 @@ static void test_HeapQueryInformation(void)
     if (0) /* crashes under XP */
     {
         size = 0;
-        ret = pHeapQueryInformation(0,
+        pHeapQueryInformation(0,
                                 HeapCompatibilityInformation,
                                 &info, sizeof(info), &size);
         size = 0;
-        ret = pHeapQueryInformation(GetProcessHeap(),
+        pHeapQueryInformation(GetProcessHeap(),
                                 HeapCompatibilityInformation,
                                 NULL, sizeof(info), &size);
     }


More information about the wine-patches mailing list