[PATCH 12/30] randr: Stop setting pScrPriv for nothing.

Cyril Brulebois kibi at debian.org
Fri May 20 08:35:22 PDT 2011


Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 randr/rrmode.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/randr/rrmode.c b/randr/rrmode.c
index d7560dc..a1eeebd 100644
--- a/randr/rrmode.c
+++ b/randr/rrmode.c
@@ -291,7 +291,6 @@ ProcRRCreateMode (ClientPtr client)
     xRRCreateModeReply	rep = {0};
     WindowPtr		pWin;
     ScreenPtr		pScreen;
-    rrScrPrivPtr	pScrPriv;
     xRRModeInfo		*modeInfo;
     long		units_after;
     char		*name;
@@ -304,7 +303,6 @@ ProcRRCreateMode (ClientPtr client)
 	return rc;
 
     pScreen = pWin->drawable.pScreen;
-    pScrPriv = rrGetScrPriv(pScreen);
     
     modeInfo = &stuff->modeInfo;
     name = (char *) (stuff + 1);
-- 
1.7.5.1



More information about the xorg-devel mailing list