mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-06 00:03:36 +00:00
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:
@@ -404,7 +404,6 @@ vfbInstallColormap(ColormapPtr pmap)
|
||||
if (pmap != oldpmap) {
|
||||
int entries;
|
||||
XWDFileHeader *pXWDHeader;
|
||||
XWDColor *pXWDCmap;
|
||||
VisualPtr pVisual;
|
||||
Pixel *ppix;
|
||||
xrgb *prgb;
|
||||
@@ -419,7 +418,6 @@ vfbInstallColormap(ColormapPtr pmap)
|
||||
|
||||
entries = pmap->pVisual->ColormapEntries;
|
||||
pXWDHeader = vfbScreens[pmap->pScreen->myNum].pXWDHeader;
|
||||
pXWDCmap = vfbScreens[pmap->pScreen->myNum].pXWDCmap;
|
||||
pVisual = pmap->pVisual;
|
||||
|
||||
swapcopy32(pXWDHeader->visual_class, pVisual->class);
|
||||
|
||||
Reference in New Issue
Block a user