gdiplus/tests: Make sure to use return values (LLVM/Clang).
This commit is contained in:
parent
a13e596c78
commit
273065cebe
|
@ -937,6 +937,7 @@ static void test_fromhicon(void)
|
|||
expect(Ok, stat);
|
||||
expect(ImageTypeBitmap, type);
|
||||
stat = GdipGetImagePixelFormat((GpImage*)bitmap, &format);
|
||||
expect(Ok, stat);
|
||||
expect(PixelFormat32bppARGB, format);
|
||||
/* raw format */
|
||||
expect_rawformat(&ImageFormatMemoryBMP, (GpImage*)bitmap, __LINE__, FALSE);
|
||||
|
@ -973,6 +974,7 @@ static void test_fromhicon(void)
|
|||
expect(Ok, stat);
|
||||
expect(ImageTypeBitmap, type);
|
||||
stat = GdipGetImagePixelFormat((GpImage*)bitmap, &format);
|
||||
expect(Ok, stat);
|
||||
expect(PixelFormat32bppARGB, format);
|
||||
/* raw format */
|
||||
expect_rawformat(&ImageFormatMemoryBMP, (GpImage*)bitmap, __LINE__, FALSE);
|
||||
|
|
Loading…
Reference in New Issue