[USER32] Fix release build C4700 CORE-16287

This commit is contained in:
Katayama Hirofumi MZ 2022-01-25 21:57:47 +09:00
parent 2c4beeca8e
commit 5972c0c18b

View file

@ -515,6 +515,7 @@ static UINT ICO_ExtractIconExW(
imageData = peimage + dataOffset;
#ifdef __REACTOS__
/* Calculate the size of color table */
ZeroMemory(&bi, sizeof(bi));
CopyMemory(&bi, imageData, sizeof(BITMAPCOREHEADER));
if (bi.biBitCount <= 8)
{