fix compiler warnings in Xprint/ps/PsPolygon.c

This commit is contained in:
Greg Kroah-Hartman 2006-06-08 10:53:17 -07:00
parent 511b231ded
commit aef092e029

View File

@ -215,8 +215,6 @@ PsPolyFillRect(
*/
if (nRects == 1)
{
extern Bool noDbeExtension;
if ( (pRects[0].x==0) && (pRects[0].y==0) &&
(pRects[0].width==pDrawable->width) && (pRects[0].height==pDrawable->height) &&
(pGC->fillStyle == FillSolid) &&
@ -227,7 +225,7 @@ PsPolyFillRect(
#endif /* DEBUG_gismobile */
/* Remove all content from the pixmap as it would be covered
* by the whole rect anyway */
PsScrubPixmap(pDrawable);
PsScrubPixmap((PixmapPtr)pDrawable);
}
}
#endif /* DBE */