rem: XVisualInfo		*v;
add: XVisualInfo		*v = vinfo;
context: Status XmuCreateColormap(dpy, colormap)    Display		*dpy;		/* specifies the connection under 					 * which the map is created */    XStandardColormap	*colormap;	/* specifies the map to be created,					 * and returns, particularly if the					 * map is created as a subset of the					 * default colormap of the screen,					 * the base_pixel of the map.					 */{    XVisualInfo		vinfo_template;	/* template visual information */    XVisualInfo		*vinfo;		/* matching visual information */    XVisualInfo		*vpointer;	/* for freeing the entire list */    long		vinfo_mask;	/* specifies the visual mask value */    int 		n;		/* number of matching visuals */    int			status;		    vinfo_template.visualid = colormap->visualid;    vinfo_mask = VisualIDMask;    if ((vinfo = XGetVisualInfo(dpy, vinfo_mask, &vinfo_template, &n)) == NULL)	return 0;    /* A visual id may be valid on multiple screens.  Also, there may      * be multiple visuals with identical visual ids at different depths.       * If the colormap is the Default Colormap, use the Default Visual.     * Otherwise, arbitrarily, use the deepest visual.     */    vpointer = vinfo;    if (n > 1)    {	register int	i;	register int	screen_number;	Bool 		def_cmap;	def_cmap = False;	for (screen_number = ScreenCount(dpy); --screen_number >= 0; )	    if (colormap->colormap == DefaultColormap(dpy, screen_number)) {		def_cmap = True;		break;	    }	if (def_cmap) {	    for (i=0; i < n; i++, vinfo++) {		if (vinfo->visual == DefaultVisual(dpy, screen_number))			break;	    }	} else {	    unsigned int	maxdepth = 0;	    XVisualInfo		*v;	    for (i=0; i < n; i++, vinfo++)		if (vinfo->depth > maxdepth) {		    maxdepth = vinfo->depth;		    v = vinfo;		}	    vinfo = v;	}    }    if (vinfo->class == PseudoColor || vinfo->class == DirectColor ||	vinfo->class == GrayScale)	status = readwrite_map(dpy, vinfo, colormap);    else if (vinfo->class == TrueColor)	status = TRUEMATCH(red_mult, red_max, red_mask) &&	         TRUEMATCH(green_mult, green_max, green_mask) &&		 TRUEMATCH(blue_mult, blue_max, blue_mask);    else 	status = readonly_map(dpy, vinfo, colormap);        XFree((char *) vpointer);    return status;}