Gerald Pfeifer : oleaut32: Remove variable iLengthScanLineColor which is not really used from serializeIcon .
Alexandre Julliard
julliard at winehq.org
Mon May 3 11:54:12 CDT 2010
Module: wine
Branch: master
Commit: c85eb7809034f0211f668ddf874c1bca87d74fbe
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c85eb7809034f0211f668ddf874c1bca87d74fbe
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat May 1 01:54:49 2010 +0200
oleaut32: Remove variable iLengthScanLineColor which is not really used from serializeIcon.
---
dlls/oleaut32/olepicture.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index c7a3411..3f431fd 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -1594,12 +1594,10 @@ static int serializeIcon(HICON hIcon, void ** ppBuffer, unsigned int * pLength)
unsigned int iOffsetColorData;
unsigned int iOffsetMaskData;
- unsigned int iLengthScanLineColor;
unsigned int iLengthScanLineMask;
unsigned int iNumEntriesPalette;
iLengthScanLineMask = ((pInfoBitmap->bmiHeader.biWidth + 31) >> 5) << 2;
- iLengthScanLineColor = ((pInfoBitmap->bmiHeader.biWidth * pInfoBitmap->bmiHeader.biBitCount + 31) >> 5) << 2;
/*
FIXME("DEBUG: bitmap size is %d x %d\n",
pInfoBitmap->bmiHeader.biWidth,
More information about the wine-cvs
mailing list