diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c index c7a3411cf04..3f431fd958a 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,