composite: Remove unused pScreen variables
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									5bc5684d4c
								
							
						
					
					
						commit
						b7633c6ff2
					
				| 
						 | 
					@ -335,12 +335,10 @@ ProcCompositeReleaseOverlayWindow(ClientPtr client)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    REQUEST(xCompositeReleaseOverlayWindowReq);
 | 
					    REQUEST(xCompositeReleaseOverlayWindowReq);
 | 
				
			||||||
    WindowPtr pWin;
 | 
					    WindowPtr pWin;
 | 
				
			||||||
    ScreenPtr pScreen;
 | 
					 | 
				
			||||||
    CompOverlayClientPtr pOc;
 | 
					    CompOverlayClientPtr pOc;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    REQUEST_SIZE_MATCH(xCompositeReleaseOverlayWindowReq);
 | 
					    REQUEST_SIZE_MATCH(xCompositeReleaseOverlayWindowReq);
 | 
				
			||||||
    VERIFY_WINDOW(pWin, stuff->window, client, DixGetAttrAccess);
 | 
					    VERIFY_WINDOW(pWin, stuff->window, client, DixGetAttrAccess);
 | 
				
			||||||
    pScreen = pWin->drawable.pScreen;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* 
 | 
					    /* 
 | 
				
			||||||
     * Has client queried a reference to the overlay window
 | 
					     * Has client queried a reference to the overlay window
 | 
				
			||||||
| 
						 | 
					@ -873,7 +871,6 @@ PanoramiXCompositeReleaseOverlayWindow(ClientPtr client)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    REQUEST(xCompositeReleaseOverlayWindowReq);
 | 
					    REQUEST(xCompositeReleaseOverlayWindowReq);
 | 
				
			||||||
    WindowPtr pWin;
 | 
					    WindowPtr pWin;
 | 
				
			||||||
    ScreenPtr pScreen;
 | 
					 | 
				
			||||||
    CompOverlayClientPtr pOc;
 | 
					    CompOverlayClientPtr pOc;
 | 
				
			||||||
    PanoramiXRes *win;
 | 
					    PanoramiXRes *win;
 | 
				
			||||||
    int i, rc;
 | 
					    int i, rc;
 | 
				
			||||||
| 
						 | 
					@ -893,7 +890,6 @@ PanoramiXCompositeReleaseOverlayWindow(ClientPtr client)
 | 
				
			||||||
            client->errorValue = stuff->window;
 | 
					            client->errorValue = stuff->window;
 | 
				
			||||||
            return rc;
 | 
					            return rc;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        pScreen = pWin->drawable.pScreen;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /*
 | 
					        /*
 | 
				
			||||||
         * Has client queried a reference to the overlay window
 | 
					         * Has client queried a reference to the overlay window
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue