fix compiler warnings in Xprint/ps/PsPrint.c

This commit is contained in:
Greg Kroah-Hartman 2006-06-08 10:41:34 -07:00
parent 35fccb0068
commit 511b231ded

View File

@ -292,13 +292,10 @@ PsStartPage(
{
int iorient, iplex, icount, ires;
unsigned short iwd, iht;
register WindowPtr pChild;
PsContextPrivPtr pConPriv =
(PsContextPrivPtr)pCon->devPrivates[PsContextPrivateIndex].ptr;
PsWindowPrivPtr pWinPriv =
(PsWindowPrivPtr)pWin->devPrivates[PsWindowPrivateIndex].ptr;
char s[80];
xEvent event;
/*
* Put a pointer to the context in the window private structure