[PATCH] randr: Silence unused variable warning

Adam Jackson ajax at redhat.com
Tue Dec 8 13:22:16 PST 2015


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 randr/rrcrtc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index ec26fcd..566a3db 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);
-- 
2.5.0



More information about the xorg-devel mailing list