From c85eb7809034f0211f668ddf874c1bca87d74fbe Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 1 May 2010 01:54:49 +0200 Subject: [PATCH] oleaut32: Remove variable iLengthScanLineColor which is not really used from serializeIcon. --- dlls/oleaut32/olepicture.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c index c7a3411cf0..3f431fd958 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,