diff gui/wm/ws.c @ 33315:d3ab6eb6b94b

Remove code with no purpose. Also fixes compiler warning about variable that is assigned but never used.
author reimar
date Sat, 07 May 2011 18:59:15 +0000
parents 284fc94290b9
children 47b5846b20b6
line wrap: on
line diff
--- a/gui/wm/ws.c	Sat May 07 18:53:48 2011 +0000
+++ b/gui/wm/ws.c	Sat May 07 18:59:15 2011 +0000
@@ -1118,10 +1118,8 @@
 
 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 )