Module: wine Branch: master Commit: c85eb7809034f0211f668ddf874c1bca87d74fbe URL: http://source.winehq.org/git/wine.git/?a=commit;h=c85eb7809034f0211f668ddf87...
Author: Gerald Pfeifer gerald@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,