=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: gdiplus: Fix compiler warnings with flag -Wunused-macros.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 10 15:34:08 CST 2014


Module: wine
Branch: master
Commit: 1d0ff2ded3c214f5e25eb59d600bc1916e6b7f18
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1d0ff2ded3c214f5e25eb59d600bc1916e6b7f18

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Dec  9 23:30:28 2014 +0100

gdiplus: Fix compiler warnings with flag -Wunused-macros.

---

 dlls/gdiplus/image.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index eec76f6..e6921f5 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -3876,11 +3876,6 @@ GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage *image, GDIPCONST WCHAR* filenam
  * Encoding functions -
  *   These functions encode an image in different image file formats.
  */
-#define BITMAP_FORMAT_BMP   0x4d42 /* "BM" */
-#define BITMAP_FORMAT_JPEG  0xd8ff
-#define BITMAP_FORMAT_GIF   0x4947
-#define BITMAP_FORMAT_PNG   0x5089
-#define BITMAP_FORMAT_APM   0xcdd7
 
 static GpStatus encode_image_WIC(GpImage *image, IStream* stream,
     GDIPCONST CLSID* clsid, GDIPCONST EncoderParameters* params)




More information about the wine-cvs mailing list