aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-05-24 18:33:17 +0200
committerUlrich Sibiller <u.sibiller@science-computing.de>2016-10-20 10:16:35 +0200
commit151e0b16da708f54a03cf50e104f2ac43ec16a5b (patch)
treed41f2faea874df9fb5ef78185c0084ed42d2eff4 /nx-X11
parentc266216107f0f0964c0a3d3979f4c364a59c578c (diff)
downloadnx-libs-151e0b16da708f54a03cf50e104f2ac43ec16a5b.tar.gz
nx-libs-151e0b16da708f54a03cf50e104f2ac43ec16a5b.tar.bz2
nx-libs-151e0b16da708f54a03cf50e104f2ac43ec16a5b.zip
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> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/xfixes/region.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/xfixes/region.c b/nx-X11/programs/Xserver/xfixes/region.c
index 0b502c7f9..6759b4bfe 100644
--- a/nx-X11/programs/Xserver/xfixes/region.c
+++ b/nx-X11/programs/Xserver/xfixes/region.c
@@ -753,13 +753,11 @@ ProcXFixesSetPictureClipRegion (ClientPtr client)
#ifdef RENDER
PicturePtr pPicture;
RegionPtr pRegion;
- ScreenPtr pScreen;
REQUEST(xXFixesSetPictureClipRegionReq);
REQUEST_SIZE_MATCH (xXFixesSetPictureClipRegionReq);
VERIFY_PICTURE(pPicture, stuff->picture, client, SecurityWriteAccess,
RenderErrBase + BadPicture);
- pScreen = pPicture->pDrawable->pScreen;
VERIFY_REGION_OR_NONE(pRegion, stuff->region, client, SecurityReadAccess);
return SetPictureClipRegion (pPicture, stuff->xOrigin, stuff->yOrigin,