xfixes: Remove unused variable.
The last use of pScreen in ProcXFixesSetPictureClipRegion was removed in
aa7096ca6f
so remove it entirely.
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
This commit is contained in:
parent
ad0d0833d4
commit
34a9f2a90d
|
@ -756,12 +756,10 @@ ProcXFixesSetPictureClipRegion (ClientPtr client)
|
||||||
{
|
{
|
||||||
PicturePtr pPicture;
|
PicturePtr pPicture;
|
||||||
RegionPtr pRegion;
|
RegionPtr pRegion;
|
||||||
ScreenPtr pScreen;
|
|
||||||
REQUEST(xXFixesSetPictureClipRegionReq);
|
REQUEST(xXFixesSetPictureClipRegionReq);
|
||||||
|
|
||||||
REQUEST_SIZE_MATCH (xXFixesSetPictureClipRegionReq);
|
REQUEST_SIZE_MATCH (xXFixesSetPictureClipRegionReq);
|
||||||
VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess);
|
VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess);
|
||||||
pScreen = pPicture->pDrawable->pScreen;
|
|
||||||
VERIFY_REGION_OR_NONE(pRegion, stuff->region, client, DixReadAccess);
|
VERIFY_REGION_OR_NONE(pRegion, stuff->region, client, DixReadAccess);
|
||||||
|
|
||||||
return SetPictureClipRegion (pPicture, stuff->xOrigin, stuff->yOrigin,
|
return SetPictureClipRegion (pPicture, stuff->xOrigin, stuff->yOrigin,
|
||||||
|
|
Loading…
Reference in New Issue