vfb: Remove unused pXWDCmap variable
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
7353ec7cb6
commit
86d68825c2
|
@ -404,7 +404,6 @@ vfbInstallColormap(ColormapPtr pmap)
|
||||||
if (pmap != oldpmap) {
|
if (pmap != oldpmap) {
|
||||||
int entries;
|
int entries;
|
||||||
XWDFileHeader *pXWDHeader;
|
XWDFileHeader *pXWDHeader;
|
||||||
XWDColor *pXWDCmap;
|
|
||||||
VisualPtr pVisual;
|
VisualPtr pVisual;
|
||||||
Pixel *ppix;
|
Pixel *ppix;
|
||||||
xrgb *prgb;
|
xrgb *prgb;
|
||||||
|
@ -419,7 +418,6 @@ vfbInstallColormap(ColormapPtr pmap)
|
||||||
|
|
||||||
entries = pmap->pVisual->ColormapEntries;
|
entries = pmap->pVisual->ColormapEntries;
|
||||||
pXWDHeader = vfbScreens[pmap->pScreen->myNum].pXWDHeader;
|
pXWDHeader = vfbScreens[pmap->pScreen->myNum].pXWDHeader;
|
||||||
pXWDCmap = vfbScreens[pmap->pScreen->myNum].pXWDCmap;
|
|
||||||
pVisual = pmap->pVisual;
|
pVisual = pmap->pVisual;
|
||||||
|
|
||||||
swapcopy32(pXWDHeader->visual_class, pVisual->class);
|
swapcopy32(pXWDHeader->visual_class, pVisual->class);
|
||||||
|
|
Loading…
Reference in New Issue