Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-03-30 07:51:30 +0400
committerChristopher Faylor <me@cgf.cx>2000-03-30 07:51:30 +0400
commite3be633dd84966dd8f29feeb2bffce8a266e8715 (patch)
tree9cdc9179fb9dd43b45ec06e4a8705c30074a8002 /winsup/cygwin/select.cc
parent5f4d6baaf2dda6525860b8a44524f4cafb8c6a9e (diff)
* fhandler.h (select_record): Explicitly zero elements of this class.
(select_stuff): Ditto. * select.cc (cygwin_select): Eliminate memset zero of sel.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 1199b1c55..b87adc123 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -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);