summaryrefslogtreecommitdiff
path: root/hw/vfb
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-11 11:55:01 -0800
committerKeith Packard <keithp@keithp.com>2014-01-12 10:14:50 -0800
commit86d68825c2b75ea9e10954fec00b44b33b38d8b2 (patch)
tree4e30f35fe14d8c22d3694c50f92ad3be062eafdd /hw/vfb
parent7353ec7cb6fc235b03e59e35425201429c83ee72 (diff)
vfb: Remove unused pXWDCmap variable
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/vfb')
-rw-r--r--hw/vfb/InitOutput.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c
index 97eccfd4e..ec3c47a48 100644
--- a/hw/vfb/InitOutput.c
+++ b/hw/vfb/InitOutput.c
@@ -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);