oleaut32: Remove variable iLengthScanLineColor which is not really used from serializeIcon.
This commit is contained in:
parent
bf9d6f2dfd
commit
c85eb78090
|
@ -1594,12 +1594,10 @@ static int serializeIcon(HICON hIcon, void ** ppBuffer, unsigned int * pLength)
|
||||||
unsigned int iOffsetColorData;
|
unsigned int iOffsetColorData;
|
||||||
unsigned int iOffsetMaskData;
|
unsigned int iOffsetMaskData;
|
||||||
|
|
||||||
unsigned int iLengthScanLineColor;
|
|
||||||
unsigned int iLengthScanLineMask;
|
unsigned int iLengthScanLineMask;
|
||||||
unsigned int iNumEntriesPalette;
|
unsigned int iNumEntriesPalette;
|
||||||
|
|
||||||
iLengthScanLineMask = ((pInfoBitmap->bmiHeader.biWidth + 31) >> 5) << 2;
|
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",
|
FIXME("DEBUG: bitmap size is %d x %d\n",
|
||||||
pInfoBitmap->bmiHeader.biWidth,
|
pInfoBitmap->bmiHeader.biWidth,
|
||||||
|
|
Loading…
Reference in New Issue