libDtHelp: Cov 89366
authorPeter Howkins <flibble@users.sf.net>
Fri, 10 Aug 2018 23:34:40 +0000 (00:34 +0100)
committerPeter Howkins <flibble@users.sf.net>
Fri, 10 Aug 2018 23:34:40 +0000 (00:34 +0100)
cde/lib/DtHelp/il/ildither.c

index 94a6f3e6fabaa9b4e472fa93ee7c4d24b9ae0fbc..89d24eb7199981cf82dfb9e5e6ef409f8124fe33 100644 (file)
@@ -1025,7 +1025,7 @@ IL_PRIVATE ilBool _ilConvertRGBToPalette (
     long                   *pColorTable;
     ilBool                  diffusion, chooseColors;
     int                     i, shifts[3], nColors;
-    const unsigned short         *pMulTable[3];      /* dither other than 484 only: pMul? */
+    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};