Mercurial > hg > xemacs-beta
comparison src/sysdep.c @ 5762:427a72c6ee17
Eliminate several compiler (clang) warnings.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Sun, 15 Sep 2013 23:47:37 +0900 |
parents | ff13c44ce0d9 |
children | b3824b7f5627 |
comparison
equal
deleted
inserted
replaced
5761:a9fd35f939a5 | 5762:427a72c6ee17 |
---|---|
492 I/O, O'Reilly 1991] */ | 492 I/O, O'Reilly 1991] */ |
493 s.main.c_cflag = (s.main.c_cflag & ~CBAUD) | B9600; /* baud rate sanity */ | 493 s.main.c_cflag = (s.main.c_cflag & ~CBAUD) | B9600; /* baud rate sanity */ |
494 #else | 494 #else |
495 /* <mdiers> What to do upon failure? Just ignoring rc is probably | 495 /* <mdiers> What to do upon failure? Just ignoring rc is probably |
496 not acceptable, is it? */ | 496 not acceptable, is it? */ |
497 if (cfsetispeed (&s.main, B9600) == -1) /* ignore */; | 497 if (cfsetispeed (&s.main, B9600) == -1) |
498 if (cfsetospeed (&s.main, B9600) == -1) /* ignore */; | 498 ; /* ignore */ |
499 if (cfsetospeed (&s.main, B9600) == -1) | |
500 ; /* ignore */ | |
499 #endif /* defined (CBAUD) */ | 501 #endif /* defined (CBAUD) */ |
500 | 502 |
501 #else /* not HAVE_TERMIO */ | 503 #else /* not HAVE_TERMIO */ |
502 | 504 |
503 s.main.sg_flags &= ~(ECHO | CRMOD | ANYP | ALLDELAY | RAW | LCASE | 505 s.main.sg_flags &= ~(ECHO | CRMOD | ANYP | ALLDELAY | RAW | LCASE |