summaryrefslogtreecommitdiff
path: root/mi/miexpose.c
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-06-05 20:55:29 -0700
committerJamey Sharp <jamey@minilop.net>2010-06-05 22:07:21 -0700
commita0fe6987b55b5326157b50e169b8d6b9ae26a1ae (patch)
tree30bd5b4a9fef3d1435059bb2a32d4e8d9916195c /mi/miexpose.c
parent424b593c7872a703d3d0c942b7e8acc0770eb023 (diff)
Clean up after removal of screen parameters from region macros.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi/miexpose.c')
-rw-r--r--mi/miexpose.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mi/miexpose.c b/mi/miexpose.c
index 2fd070d9e..94258b864 100644
--- a/mi/miexpose.c
+++ b/mi/miexpose.c
@@ -131,7 +131,6 @@ miHandleExposures(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
GCPtr pGC, int srcx, int srcy, int width, int height,
int dstx, int dsty, unsigned long plane)
{
- ScreenPtr pscr;
RegionPtr prgnSrcClip; /* drawable-relative source clip */
RegionRec rgnSrcRec;
RegionPtr prgnDstClip; /* drawable-relative dest clip */
@@ -148,9 +147,6 @@ miHandleExposures(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
BoxRec expBox;
Bool extents;
- /* This prevents warning about pscr not being used. */
- pGC->pScreen = pscr = pGC->pScreen;
-
/* avoid work if we can */
if (!pGC->graphicsExposures &&
(pDstDrawable->type == DRAWABLE_PIXMAP) &&