Fix warning in dead code Show
[xboard.git] / xaw / xboard.c
index f90fe06..f1d9747 100644 (file)
@@ -204,6 +204,7 @@ extern char *getenv();
 #include "draw.h"
 
 #define SLASH '/'
+#define DATADIR "~~"
 
 #ifdef __EMX__
 #ifndef HAVE_USLEEP
@@ -990,6 +991,9 @@ main (int argc, char **argv)
     char *p;
     int forceMono = False;
 
+    extern Option chatOptions[]; // FIXME: adapt Chat window, removing ICS pane and Hide button
+    chatOptions[6].type = chatOptions[10].type = Skip;
+
     srandom(time(0)); // [HGM] book: make random truly random
 
     setbuf(stdout, NULL);