summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2015-12-08 16:22:16 -0500
committerAdam Jackson <ajax@redhat.com>2015-12-09 09:33:56 -0500
commite98b36bc69d805ab52aba95b070a614427d46e05 (patch)
tree921368db115a6fb952bb1978466a49b6caaaec2c /randr
parent8c49c883dc196ea57e3f64425c2a5b0a8ce3ba75 (diff)
randr: Silence unused variable warning
Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
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);