* fhandler.h (select_record): Explicitly zero elements of this class.

(select_stuff): Ditto.
* select.cc (cygwin_select): Eliminate memset zero of sel.
This commit is contained in:
Christopher Faylor
2000-03-30 03:51:30 +00:00
parent 5f4d6baaf2
commit e3be633dd8
3 changed files with 18 additions and 2 deletions

View File

@@ -121,7 +121,6 @@ cygwin_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
select_printf ("%d, %p, %p, %p, %p", n, readfds, writefds, exceptfds, to);
memset (&sel, 0, sizeof (sel));
if (!readfds)
{
UNIX_FD_ZERO (dummy_readfds, n);