Austin English : gdiplus/tests: Make sure to use return values (LLVM/Clang) .

Alexandre Julliard julliard at winehq.org
Thu Feb 17 13:06:34 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 16 17:39:49 2011 -0800

gdiplus/tests: Make sure to use return values (LLVM/Clang).

---

 dlls/gdiplus/tests/graphics.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c
index 040a714..9a746b1 100644
--- a/dlls/gdiplus/tests/graphics.c
+++ b/dlls/gdiplus/tests/graphics.c
@@ -1416,7 +1416,6 @@ static void test_Get_Release_DC(void)
     expect(ObjectBusy, status);
 
     /* try all Graphics calls here */
-    status = Ok;
     status = GdipDrawArc(graphics, pen, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0);
     expect(ObjectBusy, status);
     status = GdipDrawArcI(graphics, pen, 0, 0, 1, 1, 0.0, 0.0);
@@ -1599,6 +1598,7 @@ static void test_Get_Release_DC(void)
     status = GdipGetDpiY(graphics, &r);
     expect(ObjectBusy, status);
     status = GdipMultiplyWorldTransform(graphics, m, MatrixOrderPrepend);
+    expect(ObjectBusy, status);
     status = GdipGetClip(graphics, region);
     expect(ObjectBusy, status);
     status = GdipTransformPoints(graphics, CoordinateSpacePage, CoordinateSpaceWorld, ptf, 5);




More information about the wine-cvs mailing list