Module: wine Branch: master Commit: 7b0c084e502238fad7fd2d5654b7a8b5678b3512 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b0c084e502238fad7fd2d5654...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Tue Apr 22 22:04:49 2008 +0100
msvfw32: Remove unused variable.
---
dlls/msvfw32/drawdib.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/msvfw32/drawdib.c b/dlls/msvfw32/drawdib.c index 137716d..902f0ca 100644 --- a/dlls/msvfw32/drawdib.c +++ b/dlls/msvfw32/drawdib.c @@ -458,7 +458,6 @@ HPALETTE VFWAPI DrawDibGetPalette(HDRAWDIB hdd) UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground) { WINE_HDD *whdd; - HPALETTE oldPal; UINT ret = 0;
FIXME("(%p, %p, %d), stub\n", hdd, hdc, fBackground); @@ -475,7 +474,7 @@ UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground) if (!whdd->hpal) whdd->hpal = CreateHalftonePalette(hdc);
- oldPal = SelectPalette(hdc, whdd->hpal, fBackground); + SelectPalette(hdc, whdd->hpal, fBackground); ret = RealizePalette(hdc);
out: