Austin English : kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang).
Alexandre Julliard
julliard at winehq.org
Fri Feb 11 11:16:34 CST 2011
Module: wine
Branch: master
Commit: 8b7904d78d52e8c3367de2eeba985c7ca13ca24d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8b7904d78d52e8c3367de2eeba985c7ca13ca24d
Author: Austin English <austinenglish at gmail.com>
Date: Thu Feb 10 13:27:56 2011 -0800
kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang).
---
dlls/kernel32/tests/heap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
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-cvs
mailing list