comparison src/event-Xt.c @ 2237:beb716b23f5b

[xemacs-hg @ 2004-08-26 20:38:33 by james] Remove unused variable 'console'.
author james
date Thu, 26 Aug 2004 20:38:34 +0000
parents a8d8f419b459
children 04bc9d2f42c7
comparison
equal deleted inserted replaced
2236:caf11603feef 2237:beb716b23f5b
2474 } 2474 }
2475 2475
2476 static void 2476 static void
2477 emacs_Xt_unselect_console (struct console *con) 2477 emacs_Xt_unselect_console (struct console *con)
2478 { 2478 {
2479 Lisp_Object console;
2480 int infd; 2479 int infd;
2481 2480
2482 if (CONSOLE_X_P (con)) 2481 if (CONSOLE_X_P (con))
2483 return; /* X consoles are automatically selected for when we 2482 return; /* X consoles are automatically selected for when we
2484 initialize them in Xt */ 2483 initialize them in Xt */
2485 infd = event_stream_unixoid_unselect_console (con); 2484 infd = event_stream_unixoid_unselect_console (con);
2486 console = wrap_console (con);
2487 unselect_filedesc (infd); 2485 unselect_filedesc (infd);
2488 } 2486 }
2489 2487
2490 /* read an event from a tty, if one is available. Returns non-zero 2488 /* read an event from a tty, if one is available. Returns non-zero
2491 if an event was available. Note that when this function is 2489 if an event was available. Note that when this function is