Eliminate (void) cast on standalone function calls throughout.

This commit is contained in:
Christopher Faylor
2005-07-06 20:05:03 +00:00
parent dee9edd9ed
commit 0c55f6ed60
41 changed files with 110 additions and 106 deletions

View File

@@ -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))