It should have been impossible for these to be used without being
initialized, but following the logic to prove that was trickier
than the compiler was willing to unravel.
Change-Id: Ib51714d5b5d048923388fcd55eff3fb062526d0e
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
{
int i,j,old_pixel,new_pixel,red_ind,green_ind,blue_ind ;
XColor *colors;
- int rShift,gShift,bShift;
+ int rShift = 0, gShift = 0, bShift = 0;
(void) QueryColorMap(disp,reg->cmap,reg->vis,&colors,
&rShift,&gShift,&bShift) ;