From: Jon Trulson Date: Sun, 28 Dec 2014 03:09:09 +0000 (-0700) Subject: dtsession/SrvPalette: fix CID 89227 X-Git-Tag: 2.2.3~60^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4dae64c891869355f12a623852dccd7544289003;p=oweals%2Fcde.git dtsession/SrvPalette: fix CID 89227 --- diff --git a/cde/programs/dtsession/SrvPalette.c b/cde/programs/dtsession/SrvPalette.c index e6f96e7c..09275c0b 100644 --- a/cde/programs/dtsession/SrvPalette.c +++ b/cde/programs/dtsession/SrvPalette.c @@ -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 */