aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-29 12:07:26 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 08:11:41 +0200
commitf364bacf872175fa397225417276ae6620e72f29 (patch)
treee400471846f1298ead4a09252a483eecb86bccf0 /nx-X11/programs/Xserver
parent854f3fa49351ec72da432f195806162fcf5e5ddc (diff)
downloadnx-libs-f364bacf872175fa397225417276ae6620e72f29.tar.gz
nx-libs-f364bacf872175fa397225417276ae6620e72f29.tar.bz2
nx-libs-f364bacf872175fa397225417276ae6620e72f29.zip
Xserver/xfixes/region.c: Don't declare and set PictureScreenPtr ps (in ProcXFixesSetPictureClipRegion). Variable is not used.
Diffstat (limited to 'nx-X11/programs/Xserver')
-rwxr-xr-xnx-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 398409e61..f0044735a 100755
--- a/nx-X11/programs/Xserver/xfixes/region.c
+++ b/nx-X11/programs/Xserver/xfixes/region.c
@@ -754,14 +754,12 @@ ProcXFixesSetPictureClipRegion (ClientPtr client)
PicturePtr pPicture;
RegionPtr pRegion;
ScreenPtr pScreen;
- PictureScreenPtr ps;
REQUEST(xXFixesSetPictureClipRegionReq);
REQUEST_SIZE_MATCH (xXFixesSetPictureClipRegionReq);
VERIFY_PICTURE(pPicture, stuff->picture, client, SecurityWriteAccess,
RenderErrBase + BadPicture);
pScreen = pPicture->pDrawable->pScreen;
- ps = GetPictureScreen (pScreen);
VERIFY_REGION_OR_NONE(pRegion, stuff->region, client, SecurityReadAccess);
return SetPictureClipRegion (pPicture, stuff->xOrigin, stuff->yOrigin,