summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
Diffstat (limited to 'randr')
-rw-r--r--randr/rrcrtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index ec26fcda4..566a3dbc6 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -383,7 +383,6 @@ rrDestroySharedPixmap(RRCrtcPtr crtc, PixmapPtr pPixmap) {
void
RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc)
{
- ScreenPtr master = crtc->pScreen->current_master;
rrScrPriv(crtc->pScreen);
pScrPriv->rrCrtcSetScanoutPixmap(crtc, NULL);