gdiplus/tests: Make sure to use return values (LLVM/Clang).
This commit is contained in:
parent
7de70a4804
commit
f817e547f9
|
@ -1416,7 +1416,6 @@ static void test_Get_Release_DC(void)
|
||||||
expect(ObjectBusy, status);
|
expect(ObjectBusy, status);
|
||||||
|
|
||||||
/* try all Graphics calls here */
|
/* try all Graphics calls here */
|
||||||
status = Ok;
|
|
||||||
status = GdipDrawArc(graphics, pen, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0);
|
status = GdipDrawArc(graphics, pen, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0);
|
||||||
expect(ObjectBusy, status);
|
expect(ObjectBusy, status);
|
||||||
status = GdipDrawArcI(graphics, pen, 0, 0, 1, 1, 0.0, 0.0);
|
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);
|
status = GdipGetDpiY(graphics, &r);
|
||||||
expect(ObjectBusy, status);
|
expect(ObjectBusy, status);
|
||||||
status = GdipMultiplyWorldTransform(graphics, m, MatrixOrderPrepend);
|
status = GdipMultiplyWorldTransform(graphics, m, MatrixOrderPrepend);
|
||||||
|
expect(ObjectBusy, status);
|
||||||
status = GdipGetClip(graphics, region);
|
status = GdipGetClip(graphics, region);
|
||||||
expect(ObjectBusy, status);
|
expect(ObjectBusy, status);
|
||||||
status = GdipTransformPoints(graphics, CoordinateSpacePage, CoordinateSpaceWorld, ptf, 5);
|
status = GdipTransformPoints(graphics, CoordinateSpacePage, CoordinateSpaceWorld, ptf, 5);
|
||||||
|
|
Loading…
Reference in New Issue