Austin English : gdi32/tests: Make sure to use return value (LLVM/Clang).

Alexandre Julliard julliard at winehq.org
Wed Feb 9 15:30:14 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Feb  8 16:06:02 2011 -0800

gdi32/tests: Make sure to use return value (LLVM/Clang).

---

 dlls/gdi32/tests/path.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/gdi32/tests/path.c b/dlls/gdi32/tests/path.c
index 9fe6f43..4b061f9 100644
--- a/dlls/gdi32/tests/path.c
+++ b/dlls/gdi32/tests/path.c
@@ -89,6 +89,7 @@ static void test_widenpath(void)
     Polyline(hdc, pnt, 6);
     EndPath(hdc);
     ret = WidenPath(hdc);
+    ok(ret == TRUE, "WidenPath failed: %d", GetLastError());
     nSize = GetPath(hdc, NULL, NULL, 0);
     ok(nSize > 6, "WidenPath should compute a widdened path with a 1px wide pen. Path length is %d, should be more than 6\n", nSize);
 




More information about the wine-cvs mailing list