Commit 7b0c084e authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msvfw32: Remove unused variable.

parent 55902e0c
...@@ -458,7 +458,6 @@ HPALETTE VFWAPI DrawDibGetPalette(HDRAWDIB hdd) ...@@ -458,7 +458,6 @@ HPALETTE VFWAPI DrawDibGetPalette(HDRAWDIB hdd)
UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground) UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground)
{ {
WINE_HDD *whdd; WINE_HDD *whdd;
HPALETTE oldPal;
UINT ret = 0; UINT ret = 0;
FIXME("(%p, %p, %d), stub\n", hdd, hdc, fBackground); FIXME("(%p, %p, %d), stub\n", hdd, hdc, fBackground);
...@@ -475,7 +474,7 @@ UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground) ...@@ -475,7 +474,7 @@ UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground)
if (!whdd->hpal) if (!whdd->hpal)
whdd->hpal = CreateHalftonePalette(hdc); whdd->hpal = CreateHalftonePalette(hdc);
oldPal = SelectPalette(hdc, whdd->hpal, fBackground); SelectPalette(hdc, whdd->hpal, fBackground);
ret = RealizePalette(hdc); ret = RealizePalette(hdc);
out: out:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment