summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-14 14:27:56 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-14 14:27:56 +0000
commit3aca3cb6362f429219a8af9b2d5f3d16f05be390 (patch)
treed5ece613088b9220a735cf038d789ec816d737a0 /winsup/cygwin/fhandler_tty.cc
parent18ea7328a710436298bb0415903258d6e047a623 (diff)
downloadcygnal-3aca3cb6362f429219a8af9b2d5f3d16f05be390.tar.gz
cygnal-3aca3cb6362f429219a8af9b2d5f3d16f05be390.tar.bz2
cygnal-3aca3cb6362f429219a8af9b2d5f3d16f05be390.zip
Remove some more unneeded 'return;'s throughout.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index ce2bd5db8..5016c5a4f 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -912,7 +912,6 @@ fhandler_tty_slave::read (void *ptr, size_t& len)
}
termios_printf ("%d=read(%x, %d)", totalread, ptr, len);
len = (size_t) totalread;
- return;
}
int
@@ -1283,7 +1282,6 @@ void __stdcall
fhandler_pty_master::read (void *ptr, size_t& len)
{
len = (size_t) process_slave_output ((char *) ptr, len, pktmode);
- return;
}
int