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

Austin English austinenglish at gmail.com
Wed Feb 16 19:39:49 CST 2011


-- 
-Austin
-------------- next part --------------
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-patches mailing list