changeset 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 d30987a7e6cf
children 5d4c2ebf56ff
files gui/wm/ws.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
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 )