summaryrefslogtreecommitdiff
path: root/Xprint/ps/PsColor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xprint/ps/PsColor.c')
-rw-r--r--Xprint/ps/PsColor.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Xprint/ps/PsColor.c b/Xprint/ps/PsColor.c
index 6417410ee..da6c82c1d 100644
--- a/Xprint/ps/PsColor.c
+++ b/Xprint/ps/PsColor.c
@@ -73,7 +73,6 @@ in this Software without prior written authorization from The Open Group.
** *********************************************************
**
********************************************************************/
-/* $XFree86: xc/programs/Xserver/Xprint/ps/PsColor.c,v 1.2 2001/10/28 03:32:56 tsi Exp $ */
#include "Ps.h"
#include "gcstruct.h"
@@ -86,6 +85,7 @@ PsCreateColormap(ColormapPtr pColor)
int i;
unsigned short rgb;
VisualPtr pVisual = pColor->pVisual;
+ Pixel pix;
if( pVisual->class==TrueColor )
{
@@ -120,9 +120,6 @@ PsDestroyColormap(ColormapPtr pColor)
void
PsInstallColormap(ColormapPtr pColor)
{
- PsScreenPrivPtr pPriv =
- (PsScreenPrivPtr)pColor->pScreen->devPrivates[PsScreenPrivateIndex].ptr;
- pPriv->CMap = pColor;
}
void