1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

libDtHelp: Cov 89401

This commit is contained in:
Peter Howkins 2018-08-11 00:47:42 +01:00
parent 6441ea4bf4
commit 0be3e91f4d

View file

@ -1024,7 +1024,7 @@ IL_PRIVATE ilBool _ilConvertRGBToPalette (
unsigned short *pPalette;
long *pColorTable;
ilBool diffusion, chooseColors;
int i, shifts[3], nColors;
int i, shifts[3] = { 0, 0, 0 }, nColors;
const unsigned short *pMulTable[3] = { NULL, NULL, NULL }; /* dither other than 484 only: pMul? */
static ilConvertToPaletteInfo defaultConvert =
{IL_DIFFUSION, { 4, 8, 4 }, 8, IL_PALETTE, (ilObject)NULL};