[ruby/io-console] Remove trailing whitespace.

https://github.com/ruby/io-console/commit/55f1586463
This commit is contained in:
Samuel Williams 2023-05-29 21:37:42 +09:00 committed by git
parent 1889133c04
commit 764207e47c

View File

@ -971,7 +971,7 @@ console_ioflush(VALUE io)
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H #if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
int fd1 = GetReadFD(io); int fd1 = GetReadFD(io);
int fd2 = GetWriteFD(io); int fd2 = GetWriteFD(io);
if (fd2 != -1 && fd1 != fd2) { if (fd2 != -1 && fd1 != fd2) {
if (tcflush(fd1, TCIFLUSH)) sys_fail(io); if (tcflush(fd1, TCIFLUSH)) sys_fail(io);
if (tcflush(fd2, TCOFLUSH)) sys_fail(io); if (tcflush(fd2, TCOFLUSH)) sys_fail(io);