dtsession/SrvPalette: fix CID 89227
authorJon Trulson <jon@radscan.com>
Sun, 28 Dec 2014 03:09:09 +0000 (20:09 -0700)
committerJon Trulson <jon@radscan.com>
Sun, 28 Dec 2014 03:09:09 +0000 (20:09 -0700)
cde/programs/dtsession/SrvPalette.c

index e6f96e7c57f8009d0149ec3140293a02a29d7175..09275c0b975279a4703389a0637d9e6853869dc8 100644 (file)
@@ -665,7 +665,7 @@ convert_pixel_set(
   int i;
   char *converted;
   char *p;
-  int colormappingindex;
+  int colormappingindex = 0;
 
   const int colormapping [4][XmCO_MAX_NUM_COLORS] = {
     {0, 1, 2, 3, 4, 5, 6, 7}, /* XmCO_HIGH_COLOR */