[MPlayer-cvslog] r33402 - trunk/gui/wm/ws.c

reimar subversion at mplayerhq.hu
Sat May 7 20:59:16 CEST 2011


Author: reimar
Date: Sat May  7 20:59:15 2011
New Revision: 33402

Log:
Remove code with no purpose.
Also fixes compiler warning about variable that is assigned but never used.

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Sat May  7 20:53:48 2011	(r33401)
+++ trunk/gui/wm/ws.c	Sat May  7 20:59:15 2011	(r33402)
@@ -1118,10 +1118,8 @@ void wsDestroyImage( wsTWindow * win )
 
 void wsCreateImage( wsTWindow * win,int Width,int Height )
 {
- int CompletionType = -1;
  if ( wsUseXShm )
   {
-   CompletionType=XShmGetEventBase( wsDisplay ) + ShmCompletion;
    win->xImage=XShmCreateImage( wsDisplay,win->VisualInfo.visual,
                    win->VisualInfo.depth,ZPixmap,NULL,&win->Shminfo,Width,Height );
    if ( win->xImage == NULL )


More information about the MPlayer-cvslog mailing list