From 273065cebee039ab61aa22835810fb0003c08f1f Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 9 Feb 2011 13:44:18 -0800 Subject: [PATCH] gdiplus/tests: Make sure to use return values (LLVM/Clang). --- dlls/gdiplus/tests/image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index 989e0bbe237..6e62178d78e 100644 --- a/dlls/gdiplus/tests/image.c +++ b/dlls/gdiplus/tests/image.c @@ -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);