summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/select.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-07-06 20:05:03 +0000
committerChristopher Faylor <me@cgf.cx>2005-07-06 20:05:03 +0000
commit0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch)
treebddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/select.cc
parentdee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff)
downloadcygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.gz
cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.bz2
cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.zip
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 13913c95f..7c146fe44 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -976,7 +976,7 @@ peek_serial (select_record *s, bool)
goto out;
}
- (void) SetCommMask (h, EV_RXCHAR);
+ SetCommMask (h, EV_RXCHAR);
if (!fh->overlapped_armed)
{
@@ -1166,7 +1166,7 @@ fhandler_base::ready_for_read (int fd, DWORD howlong)
me.fd = fd;
while (!avail)
{
- (void) select_read (&me);
+ select_read (&me);
avail = me.read_ready ?: me.peek (&me, false);
if (fd >= 0 && cygheap->fdtab.not_open (fd))