gdi32: Remove a set but unused variable. (try2)
Nicolas Le Cam
niko.lecam at gmail.com
Mon May 2 19:52:50 CDT 2011
try2: Removes the variable as restoring the font generates test errors.
--
Nicolas Le Cam
-------------- next part --------------
From cf15ab7b521e4cfd0a832e250b0e1611135f4ac4 Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Fri, 29 Apr 2011 23:57:09 +0200
Subject: gdi32: Remove a set but unused variable.
---
dlls/gdi32/metafile.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/metafile.c b/dlls/gdi32/metafile.c
index dae991f..fbc88d1 100644
--- a/dlls/gdi32/metafile.c
+++ b/dlls/gdi32/metafile.c
@@ -394,7 +394,6 @@ static BOOL MF_PlayMetaFile( HDC hdc, METAHEADER *mh)
WORD i;
HPEN hPen;
HBRUSH hBrush;
- HFONT hFont;
HPALETTE hPal;
HRGN hRgn;
BOOL loaded = FALSE;
@@ -409,7 +408,6 @@ static BOOL MF_PlayMetaFile( HDC hdc, METAHEADER *mh)
/* save DC */
hPen = GetCurrentObject(hdc, OBJ_PEN);
hBrush = GetCurrentObject(hdc, OBJ_BRUSH);
- hFont = GetCurrentObject(hdc, OBJ_FONT);
hPal = GetCurrentObject(hdc, OBJ_PAL);
hRgn = CreateRectRgn(0, 0, 0, 0);
--
1.7.5
More information about the wine-patches
mailing list