[PATCH 18/30] vfb: Stop setting pXWDCmap for nothing.

Cyril Brulebois kibi at debian.org
Fri May 20 08:35:28 PDT 2011


Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 hw/vfb/InitOutput.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c
index 53f82f9..b78e43d 100644
--- a/hw/vfb/InitOutput.c
+++ b/hw/vfb/InitOutput.c
@@ -414,7 +414,6 @@ vfbInstallColormap(ColormapPtr pmap)
     {
 	int entries;
 	XWDFileHeader *pXWDHeader;
-	XWDColor *pXWDCmap;
 	VisualPtr pVisual;
 	Pixel *     ppix;
 	xrgb *      prgb;
@@ -429,7 +428,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);
-- 
1.7.5.1



More information about the xorg-devel mailing list