summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-05-24 18:33:17 +0200
committerCyril Brulebois <kibi@debian.org>2011-06-16 00:44:03 +0200
commit34a9f2a90d34a2ab7ecf56d329e75e8da569f939 (patch)
treee653667a38fe629802693f09400f83ac642469fe /xfixes
parentad0d0833d45ea24d7af1f724b9905133fe3b065f (diff)
xfixes: Remove unused variable.
The last use of pScreen in ProcXFixesSetPictureClipRegion was removed in aa7096ca6f108e399d9916639cf20c57f9776305 so remove it entirely. Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Cyril Brulebois <kibi@debian.org>
Diffstat (limited to 'xfixes')
-rw-r--r--xfixes/region.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xfixes/region.c b/xfixes/region.c
index f49349629..be2d391dd 100644
--- a/xfixes/region.c
+++ b/xfixes/region.c
@@ -756,12 +756,10 @@ ProcXFixesSetPictureClipRegion (ClientPtr client)
{
PicturePtr pPicture;
RegionPtr pRegion;
- ScreenPtr pScreen;
REQUEST(xXFixesSetPictureClipRegionReq);
REQUEST_SIZE_MATCH (xXFixesSetPictureClipRegionReq);
VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess);
- pScreen = pPicture->pDrawable->pScreen;
VERIFY_REGION_OR_NONE(pRegion, stuff->region, client, DixReadAccess);
return SetPictureClipRegion (pPicture, stuff->xOrigin, stuff->yOrigin,