[PATCH 10/14] xfixes: Remove unused variable.

Cyril Brulebois kibi at debian.org
Tue May 24 09:41:14 PDT 2011


The last use of pScreen in ProcXFixesSetPictureClipRegion was removed in
aa7096ca6f108e399d9916639cf20c57f9776305 so remove it entirely.

Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 xfixes/region.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/xfixes/region.c b/xfixes/region.c
index f493496..be2d391 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,
-- 
1.7.5.1



More information about the xorg-devel mailing list