Commit 273065ce authored by Austin English's avatar Austin English Committed by Alexandre Julliard

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

parent a13e596c
...@@ -937,6 +937,7 @@ static void test_fromhicon(void) ...@@ -937,6 +937,7 @@ static void test_fromhicon(void)
expect(Ok, stat); expect(Ok, stat);
expect(ImageTypeBitmap, type); expect(ImageTypeBitmap, type);
stat = GdipGetImagePixelFormat((GpImage*)bitmap, &format); stat = GdipGetImagePixelFormat((GpImage*)bitmap, &format);
expect(Ok, stat);
expect(PixelFormat32bppARGB, format); expect(PixelFormat32bppARGB, format);
/* raw format */ /* raw format */
expect_rawformat(&ImageFormatMemoryBMP, (GpImage*)bitmap, __LINE__, FALSE); expect_rawformat(&ImageFormatMemoryBMP, (GpImage*)bitmap, __LINE__, FALSE);
...@@ -973,6 +974,7 @@ static void test_fromhicon(void) ...@@ -973,6 +974,7 @@ static void test_fromhicon(void)
expect(Ok, stat); expect(Ok, stat);
expect(ImageTypeBitmap, type); expect(ImageTypeBitmap, type);
stat = GdipGetImagePixelFormat((GpImage*)bitmap, &format); stat = GdipGetImagePixelFormat((GpImage*)bitmap, &format);
expect(Ok, stat);
expect(PixelFormat32bppARGB, format); expect(PixelFormat32bppARGB, format);
/* raw format */ /* raw format */
expect_rawformat(&ImageFormatMemoryBMP, (GpImage*)bitmap, __LINE__, FALSE); expect_rawformat(&ImageFormatMemoryBMP, (GpImage*)bitmap, __LINE__, FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment