[PATCH 17/30] dmx: Stop setting pSibPriv for nothing.

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


Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 hw/dmx/dmxwindow.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/hw/dmx/dmxwindow.c b/hw/dmx/dmxwindow.c
index 704fcff..8b80f1c 100644
--- a/hw/dmx/dmxwindow.c
+++ b/hw/dmx/dmxwindow.c
@@ -832,13 +832,9 @@ void dmxResizeWindow(WindowPtr pWindow, int x, int y,
     ScreenPtr       pScreen = pWindow->drawable.pScreen;
     DMXScreenInfo  *dmxScreen = &dmxScreens[pScreen->myNum];
     dmxWinPrivPtr   pWinPriv = DMX_GET_WINDOW_PRIV(pWindow);
-    dmxWinPrivPtr   pSibPriv;
     unsigned int    m;
     XWindowChanges  c;
 
-    if (pSib)
-	pSibPriv = DMX_GET_WINDOW_PRIV(pSib);
-
     DMX_UNWRAP(ResizeWindow, dmxScreen, pScreen);
 #if 1
     if (pScreen->ResizeWindow)
-- 
1.7.5.1



More information about the xorg-devel mailing list