# HG changeset patch # User diego # Date 1271753357 0 # Node ID 0878f24296738cefa5efe41648cc18a98abaf3fb # Parent 85f2493aac68c3698044077938c8b04680660a65 Remove unused static function wsIOErrorHandler, fixes the warning: gui/wm/ws.c:184: warning: 'wsIOErrorHandler' defined but not used diff -r 85f2493aac68 -r 0878f2429673 gui/wm/ws.c --- a/gui/wm/ws.c Tue Apr 20 08:44:26 2010 +0000 +++ b/gui/wm/ws.c Tue Apr 20 08:49:17 2010 +0000 @@ -180,12 +180,6 @@ // Init X Window System. // ---------------------------------------------------------------------------------------------- -static int wsIOErrorHandler( Display * dpy ) -{ - fprintf( stderr,"[ws] IO error in display.\n" ); - exit( 0 ); -} - static int wsErrorHandler( Display * dpy, XErrorEvent * Event ) { char type[128];